1
0
Fork 0

Update codec information

This commit is contained in:
xperia64 2020-06-11 22:05:29 -04:00
parent c63797a096
commit c873b38387
1 changed files with 2 additions and 2 deletions

View File

@ -128,8 +128,8 @@ bool FFmpegVideoStream::Init(FFmpegMuxer& muxer, const Layout::FramebufferLayout
// TODO(xperia64): While these numbers from core timing work fine, certain video codecs do not
// support the strange resulting timebase (280071/16756991); Addressing this issue would require
// resampling the video
// Known working: mjpeg, libx264
// Known not working: mpeg2, mpeg4
// List of codecs known broken by this change: mpeg1, mpeg2, mpeg4, libxvid
// See https://github.com/citra-emu/citra/pull/5273#issuecomment-643023325 for more information
codec_context->time_base.num = static_cast<int>(GPU::frame_ticks);
codec_context->time_base.den = static_cast<int>(BASE_CLOCK_RATE_ARM11);
codec_context->gop_size = 12;