Update codec information
This commit is contained in:
parent
c63797a096
commit
c873b38387
1 changed files with 2 additions and 2 deletions
|
@ -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
|
// 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
|
// support the strange resulting timebase (280071/16756991); Addressing this issue would require
|
||||||
// resampling the video
|
// resampling the video
|
||||||
// Known working: mjpeg, libx264
|
// List of codecs known broken by this change: mpeg1, mpeg2, mpeg4, libxvid
|
||||||
// Known not working: mpeg2, mpeg4
|
// 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.num = static_cast<int>(GPU::frame_ticks);
|
||||||
codec_context->time_base.den = static_cast<int>(BASE_CLOCK_RATE_ARM11);
|
codec_context->time_base.den = static_cast<int>(BASE_CLOCK_RATE_ARM11);
|
||||||
codec_context->gop_size = 12;
|
codec_context->gop_size = 12;
|
||||||
|
|
Loading…
Reference in a new issue