summaryrefslogtreecommitdiffstats
path: root/libhb/qsv_common.c
diff options
context:
space:
mode:
authormaxd <[email protected]>2014-03-14 21:27:17 +0000
committermaxd <[email protected]>2014-03-14 21:27:17 +0000
commitbcedb58231a0417570b1e58af708f0a7528b48c9 (patch)
treeb9cd41cc7581760337df7809e34356643f66d0bc /libhb/qsv_common.c
parent1062525b9ef022714a31b1662edb799bed7e6fd5 (diff)
check of mfxExtCodingOption2 for AVC only
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6112 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/qsv_common.c')
-rw-r--r--libhb/qsv_common.c2
1 files changed, 1 insertions, 1 deletions
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;