From e58ce626d5c6e477d9567006f4e1247be7116016 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 1 Aug 2024 02:43:11 +0200 Subject: [PATCH] Video Encode: do not set the frame_number Fixes a deprecation warning, and it is supposed to be set by ffmpeg anyway. --- rpcs3/util/media_utils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/rpcs3/util/media_utils.cpp b/rpcs3/util/media_utils.cpp index 73369a03a6..4ba78cb750 100644 --- a/rpcs3/util/media_utils.cpp +++ b/rpcs3/util/media_utils.cpp @@ -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(m_out_format.width); av.video.context->height = static_cast(m_out_format.height);