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:
Megamouse 2024-08-01 02:43:11 +02:00
parent 106bf5145b
commit e58ce626d5

View File

@ -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);