shithub: libvpx

Download patch

ref: 364f0e31fed78be436d00c177574dac00c0d85a4
parent: a945f344e04d2851cd675cca48182cca2e7d8a4e
author: Chunbo Hua <chunbo.hua@intel.com>
date: Tue Jun 15 21:51:44 EDT 2021

Initialize VP9EncoderConfig profile and bit depth

Change-Id: I5c42013a08677cdef8d47f348458118338ff0138

--- a/vp9/ratectrl_rtc.cc
+++ b/vp9/ratectrl_rtc.cc
@@ -39,6 +39,8 @@
   cm->bit_depth = VPX_BITS_8;
   cm->show_frame = 1;
   oxcf->rc_mode = VPX_CBR;
+  oxcf->profile = cm->profile;
+  oxcf->bit_depth = cm->bit_depth;
   oxcf->pass = 0;
   oxcf->aq_mode = NO_AQ;
   oxcf->content = VP9E_CONTENT_DEFAULT;