]> granicus.if.org Git - handbrake/commitdiff
QSV: TargetKbps is not used when CQP
authorhandbrake <no-reply@handbrake.fr>
Tue, 4 Jun 2013 10:59:02 +0000 (10:59 +0000)
committerhandbrake <no-reply@handbrake.fr>
Tue, 4 Jun 2013 10:59:02 +0000 (10:59 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5551 b64f7644-9d1e-0410-96f1-a4d463321fa5

libhb/enc_qsv.c

index 1a474f16c2b99dfec38ad7a8e16a44c520384736..76f434e1baec85b56a4758d3e49cfd46f1c411cf 100644 (file)
@@ -386,9 +386,8 @@ int qsv_enc_init( av_qsv_context* qsv, hb_work_private_t * pv ){
     };
 
     if( qsv_encode->m_mfxVideoParam.mfx.RateControlMethod == MFX_RATECONTROL_CQP )
-        hb_log("qsv: RateControlMethod:%s(I:%d/P:%d/B:%d) TargetKbps:%d",rc_method,
-                                                qsv_encode->m_mfxVideoParam.mfx.QPI, qsv_encode->m_mfxVideoParam.mfx.QPP, qsv_encode->m_mfxVideoParam.mfx.QPB,
-                                                qsv_encode->m_mfxVideoParam.mfx.TargetKbps );
+        hb_log("qsv: RateControlMethod:%s(I:%d/P:%d/B:%d)",rc_method,
+                                                qsv_encode->m_mfxVideoParam.mfx.QPI, qsv_encode->m_mfxVideoParam.mfx.QPP, qsv_encode->m_mfxVideoParam.mfx.QPB );
     else
         hb_log("qsv: RateControlMethod:%s TargetKbps:%d",rc_method , qsv_encode->m_mfxVideoParam.mfx.TargetKbps );