mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
Video Encode: do not set the frame_number
Fixes a deprecation warning, and it is supposed to be set by ffmpeg anyway.
This commit is contained in:
parent
106bf5145b
commit
e58ce626d5
@ -1181,7 +1181,6 @@ namespace utils
|
||||
{
|
||||
av.video.context->codec_id = av.format_context->oformat->video_codec;
|
||||
av.video.context->codec_type = AVMEDIA_TYPE_VIDEO;
|
||||
av.video.context->frame_number = 0;
|
||||
av.video.context->bit_rate = m_video_bitrate_bps;
|
||||
av.video.context->width = static_cast<int>(m_out_format.width);
|
||||
av.video.context->height = static_cast<int>(m_out_format.height);
|
||||
|
Loading…
Reference in New Issue
Block a user