mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-27 01:22:37 -06:00
parent
4a9995ab9f
commit
1382035d4d
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,8 @@ bool FFmpegVideoStream::Init(FFmpegMuxer& muxer, const Layout::FramebufferLayout
|
|||
return false;
|
||||
}
|
||||
|
||||
stream->time_base = codec_context->time_base;
|
||||
|
||||
// Allocate frames
|
||||
current_frame.reset(av_frame_alloc());
|
||||
scaled_frame.reset(av_frame_alloc());
|
||||
|
|
Loading…
Reference in a new issue