diff options
author | maxd <[email protected]> | 2014-03-14 21:27:17 +0000 |
---|---|---|
committer | maxd <[email protected]> | 2014-03-14 21:27:17 +0000 |
commit | bcedb58231a0417570b1e58af708f0a7528b48c9 (patch) | |
tree | b9cd41cc7581760337df7809e34356643f66d0bc /libhb | |
parent | 1062525b9ef022714a31b1662edb799bed7e6fd5 (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')
-rw-r--r-- | libhb/qsv_common.c | 2 |
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; |