Source code

Revision control

Copy as Markdown

Other Tools

From: Michael Froman <mfroman@mozilla.com>
Date: Tue, 15 Oct 2024 16:46:00 -0500
Subject: Bug 1924098 - (fix-e432503389) upstream changed signature of
LibvpxVp9Encoder::InitAndSetControlSettings
---
modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc b/modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc
index e98fd428bf..d30de4d4c9 100644
--- a/modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc
+++ b/modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc
@@ -1298,7 +1298,7 @@ int LibvpxVp9Encoder::UpdateCodecFrameSize(
// bugs in trying to do it the "right" way, we basically re-do
// the initialization.
vpx_codec_destroy(encoder_); // clean up old state
- int result = InitAndSetControlSettings(&codec_);
+ int result = InitAndSetControlSettings();
if (result == WEBRTC_VIDEO_CODEC_OK) {
// TODO: Mozilla rates have become much more complicated, we need to store
// more state or find another way of doing this.