From bcedb58231a0417570b1e58af708f0a7528b48c9 Mon Sep 17 00:00:00 2001 From: maxd Date: Fri, 14 Mar 2014 21:27:17 +0000 Subject: [PATCH] check of mfxExtCodingOption2 for AVC only git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6112 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/qsv_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libhb/qsv_common.c b/libhb/qsv_common.c index fc3596b68..a1196fdd8 100644 --- a/libhb/qsv_common.c +++ b/libhb/qsv_common.c @@ -320,7 +320,7 @@ static int query_capabilities(mfxSession session, mfxVersion version, hb_qsv_inf * suffers from false positives instead. The latter is probably easier * and/or safer to sanitize for us, so use mode 1. */ - if (HB_CHECK_MFX_VERSION(version, 1, 6)) + if (HB_CHECK_MFX_VERSION(version, 1, 6) && info->codec_id == MFX_CODEC_AVC) { init_video_param(&videoParam); videoParam.mfx.CodecId = info->codec_id; -- 2.40.0