all repos — mgba @ be0deefa8b9c32e9821b0d40a539190732a86295

mGBA Game Boy Advance Emulator

Test: Set encoding framerate properly
Vicki Pfau vi@endrift.com
Thu, 23 Jul 2020 23:03:32 -0700
commit

be0deefa8b9c32e9821b0d40a539190732a86295

parent

9865b7de4c457cf08ff10d43c7e4d98d9d4d50b5

1 files changed, 1 insertions(+), 0 deletions(-)

jump to
M src/platform/test/cinema-main.csrc/platform/test/cinema-main.c

@@ -1025,6 +1025,7 @@ FFmpegEncoderSetAudio(&encoder, NULL, 0);

FFmpegEncoderSetVideo(&encoder, "zmbv", 0, 0); FFmpegEncoderSetContainer(&encoder, "avi"); FFmpegEncoderSetDimensions(&encoder, image.width, image.height); + FFmpegEncoderSetInputFrameRate(&encoder, core->frameCycles(core), core->frequency(core)); if (rebaseline && !exists) { if (!FFmpegEncoderOpen(&encoder, baselineName)) {