This commit is contained in:
Lily Tsuru 2024-10-11 04:17:47 -04:00
parent 7c66291479
commit 8438ca11b5
3 changed files with 4 additions and 4 deletions

View file

@ -177,7 +177,7 @@ async fn main() -> anyhow::Result<()> {
_ => break,
}
std::thread::sleep(Duration::from_millis(1));
std::thread::sleep(Duration::from_millis(4));
}
})
.expect("failed to spawn retro RX thread, it's probably over");

View file

@ -414,7 +414,7 @@ fn retro_thread_main(
app.load_core("cores/swanstation_libretro.so")
.expect("failed to load core");
app.load_game("roms/merged/nmv1/us/nmv1_us.cue") //merged/nmv1/us/nmv1_us.cue
app.load_game("roms/merged/nmv3/us/nmv3_us.cue") //merged/nmv1/us/nmv1_us.cue
.expect("failed to load game");
// sync

View file

@ -135,8 +135,8 @@ impl H264Encoder {
video_encoder_context.set_format(ffmpeg::format::Pixel::ZRGB32);
video_encoder_context.set_qmin(40);
video_encoder_context.set_qmax(38);
video_encoder_context.set_qmin(38);
video_encoder_context.set_qmax(32);
// set h264_nvenc options
let mut dict = ffmpeg::Dictionary::new();