Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98811743 authored by Mark Harman's avatar Mark Harman
Browse files

Add more video info to about debug dialog.

parent f4c8bdc5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1402,6 +1402,9 @@ public class MainActivity extends Activity implements AudioListener.AudioListene
		bundle.putInt("video_frame_height", camcorder_profile.videoFrameHeight);
		bundle.putInt("video_bit_rate", camcorder_profile.videoBitRate);
		bundle.putInt("video_frame_rate", camcorder_profile.videoFrameRate);
		bundle.putDouble("video_capture_rate", camcorder_profile.videoCaptureRate);
		bundle.putBoolean("video_high_speed", preview.isVideoHighSpeed());
		bundle.putFloat("video_capture_rate_factor", applicationInterface.getVideoCaptureRateFactor());

		List<CameraController.Size> video_sizes = this.preview.getVideoQualityHander().getSupportedVideoSizes();
		if( video_sizes != null ) {
+9 −0
Original line number Diff line number Diff line
@@ -397,6 +397,9 @@ public class MyPreferenceFragment extends PreferenceFragment implements OnShared
		final int video_frame_height = bundle.getInt("video_frame_height");
		final int video_bit_rate = bundle.getInt("video_bit_rate");
		final int video_frame_rate = bundle.getInt("video_frame_rate");
		final double video_capture_rate = bundle.getDouble("video_capture_rate");
		final boolean video_high_speed = bundle.getBoolean("video_high_speed");
		final float video_capture_rate_factor = bundle.getFloat("video_capture_rate_factor");

		final boolean supports_force_video_4k = bundle.getBoolean("supports_force_video_4k");
		if( MyDebug.LOG )
@@ -809,6 +812,12 @@ public class MyPreferenceFragment extends PreferenceFragment implements OnShared
						about_string.append(video_bit_rate);
						about_string.append("\nVideo frame rate: ");
						about_string.append(video_frame_rate);
						about_string.append("\nVideo capture rate: ");
						about_string.append(video_capture_rate);
						about_string.append("\nVideo high speed: ");
						about_string.append(video_high_speed);
						about_string.append("\nVideo capture rate factor: ");
						about_string.append(video_capture_rate_factor);
                        about_string.append("\nAuto-stabilise?: ");
                        about_string.append(getString(supports_auto_stabilise ? R.string.about_available : R.string.about_not_available));
						about_string.append("\nAuto-stabilise enabled?: ");