shithub: openh264

Download patch

ref: ed73d519457ea9272c2620e497f921f97ea60a5a
parent: 5588e82fce27a02a8375ce73d4dfa80c33a30711
parent: ccaf242b800e0f3c0871870d0bb4e53e350a81ed
author: sijchen <sijchen@cisco.com>
date: Mon Jun 1 06:43:58 EDT 2015

Merge pull request #1963 from llyzs/dynamic_qp

Copy QP value when changing encoder config

--- a/codec/encoder/core/src/encoder_ext.cpp
+++ b/codec/encoder/core/src/encoder_ext.cpp
@@ -4606,6 +4606,7 @@
       pOldDlp->iSpatialBitrate	= pNewDlp->iSpatialBitrate;
 
       pOldDlp->uiProfileIdc		= pNewDlp->uiProfileIdc;			// value of profile IDC (0 for auto-detection)
+      pOldDlp->iDLayerQp		= pNewDlp->iDLayerQp;
 
       /* Derived variants below */
       pOldDlpInternal->iTemporalResolution	= pNewDlpInternal->iTemporalResolution;