diff options
author | Chunbo Hua <chunbo.hua@intel.com> | 2021-06-16 01:51:44 -0700 |
---|---|---|
committer | Chunbo Hua <chunbo.hua@intel.com> | 2021-06-16 19:30:25 -0700 |
commit | 364f0e31fed78be436d00c177574dac00c0d85a4 (patch) | |
tree | 096bcab91116c055d6ad49fea5085413f2935b49 | |
parent | a945f344e04d2851cd675cca48182cca2e7d8a4e (diff) | |
download | libvpx-364f0e31fed78be436d00c177574dac00c0d85a4.tar libvpx-364f0e31fed78be436d00c177574dac00c0d85a4.tar.gz libvpx-364f0e31fed78be436d00c177574dac00c0d85a4.tar.bz2 libvpx-364f0e31fed78be436d00c177574dac00c0d85a4.zip |
Initialize VP9EncoderConfig profile and bit depth
Change-Id: I5c42013a08677cdef8d47f348458118338ff0138
-rw-r--r-- | vp9/ratectrl_rtc.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/ratectrl_rtc.cc b/vp9/ratectrl_rtc.cc index 47f9f3ba3..8f77fc842 100644 --- a/vp9/ratectrl_rtc.cc +++ b/vp9/ratectrl_rtc.cc @@ -39,6 +39,8 @@ void VP9RateControlRTC::InitRateControl(const VP9RateControlRtcConfig &rc_cfg) { 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; |