From f42447f44959a2ca3a330762f3bb9f6d2c0777a0 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Tue, 23 Jul 2013 01:26:11 +0000 Subject: [PATCH] QSV: support API 1.3. We don't need anything 1.4-specific yet, and some OEMs' "latest" drivers for Sandy Bridge are still on API 1.3, so this should improve Sandy Bridge support. git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/qsv@5660 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/hb.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/libhb/hb.c b/libhb/hb.c index 162dbe0e8..804fa5d9f 100644 --- a/libhb/hb.c +++ b/libhb/hb.c @@ -350,10 +350,9 @@ void hb_ff_set_sample_fmt(AVCodecContext *context, AVCodec *codec, // make the Intel QSV information available to the UIs hb_qsv_info_t *hb_qsv_info = NULL; -// minimum supported version (currently 1.4, for Sandy Bridge support) -// let's keep this independent of what Libav can do for decode -#define HB_QSV_MINVERSION_MAJOR 1 -#define HB_QSV_MINVERSION_MINOR 4 +// minimum supported version (currently 1.3, for Sandy Bridge support) +#define HB_QSV_MINVERSION_MAJOR AV_QSV_MSDK_VERSION_MAJOR +#define HB_QSV_MINVERSION_MINOR AV_QSV_MSDK_VERSION_MINOR // check available hardware & software versions against a minimum #define HB_QSV_MIN_HARDWARE(MAJOR, MINOR) \ -- 2.40.0