From ba90e89cdbf19f1107c8fdc1b518bc35f7c2b9b2 Mon Sep 17 00:00:00 2001 From: Vivian Lim Date: Sun, 29 Nov 2020 15:13:45 -0800 Subject: [PATCH] hardcoded match for sega genesis video geometry --- examples/ffmpeg_recorder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/ffmpeg_recorder.rs b/examples/ffmpeg_recorder.rs index c460925..d91759b 100644 --- a/examples/ffmpeg_recorder.rs +++ b/examples/ffmpeg_recorder.rs @@ -121,8 +121,8 @@ impl MyEmulator { video_encoder.set_time_base(Rational::new(1, fps_int)); video_encoder.set_frame_rate(av_info.timing.fps.into()); if av_info.geometry.base_height == 0 && av_info.geometry.base_width == 0 { - av_info.geometry.base_width = 640; - av_info.geometry.base_height = 480; + av_info.geometry.base_width = 320; + av_info.geometry.base_height = 224; av_info.geometry.aspect_ratio = 4.33; } if av_info.timing.sample_rate == 0.0 {