Source code
Revision control
Copy as Markdown
Other Tools
From: Michael Froman <mfroman@mozilla.com>
Date: Tue, 15 Oct 2024 16:46:00 -0500
LibvpxVp9Encoder::InitAndSetControlSettings
Mercurial Revision: https://hg.mozilla.org/mozilla-central/rev/fadad7695efe0d9cc6b999a613b9e1f536e660bd
---
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 ea7cb5767e..2e6e53969a 100644
--- a/modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc
+++ b/modules/video_coding/codecs/vp9/libvpx_vp9_encoder.cc
@@ -1273,7 +1273,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.