Commit 711d42b8 authored by Frank Bossen's avatar Frank Bossen
Browse files

Fix !2018: ignore slice-level setting when feature is not used

parent c363af84
...@@ -589,7 +589,7 @@ void EncApp::xInitLibCfg() ...@@ -589,7 +589,7 @@ void EncApp::xInitLibCfg()
m_cEncLib.setCuQpDeltaSubdiv ( m_cuQpDeltaSubdiv ); m_cEncLib.setCuQpDeltaSubdiv ( m_cuQpDeltaSubdiv );
m_cEncLib.setCuChromaQpOffsetSubdiv ( m_cuChromaQpOffsetSubdiv ); m_cEncLib.setCuChromaQpOffsetSubdiv ( m_cuChromaQpOffsetSubdiv );
m_cEncLib.setCuChromaQpOffsetList ( m_cuChromaQpOffsetList ); m_cEncLib.setCuChromaQpOffsetList ( m_cuChromaQpOffsetList );
m_cEncLib.setCuChromaQpOffsetEnabled ( m_cuChromaQpOffsetEnabled ); m_cEncLib.setCuChromaQpOffsetEnabled ( m_cuChromaQpOffsetEnabled && m_cuChromaQpOffsetList.size() > 0 );
m_cEncLib.setChromaCbQpOffset ( m_cbQpOffset ); m_cEncLib.setChromaCbQpOffset ( m_cbQpOffset );
m_cEncLib.setChromaCrQpOffset ( m_crQpOffset ); m_cEncLib.setChromaCrQpOffset ( m_crQpOffset );
m_cEncLib.setChromaCbQpOffsetDualTree ( m_cbQpOffsetDualTree ); m_cEncLib.setChromaCbQpOffsetDualTree ( m_cbQpOffsetDualTree );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment