aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qsvenc.h
diff options
context:
space:
mode:
authorZhong Li <zhong.li@intel.com>2018-01-30 18:07:23 +0800
committerMaxym Dmytrychenko <maxim.d33@gmail.com>2018-02-12 00:34:34 +0100
commit8bb9824fcbc5a6ebf68391d70a2c4f03447990d2 (patch)
tree28d8f4d9a80d70b7805f7c47953e9e1df20ecc60 /libavcodec/qsvenc.h
parente412d683fe0349bb8450645813a23158bb4ebd66 (diff)
downloadffmpeg-8bb9824fcbc5a6ebf68391d70a2c4f03447990d2.tar.gz
qsvenc: AVBR is not supported on non-windows OS
AVBR is supported from API 1.3 but only available for Windows Signed-off-by: Zhong Li <zhong.li@intel.com> Signed-off-by: Maxym Dmytrychenko <maxim.d33@gmail.com>
Diffstat (limited to 'libavcodec/qsvenc.h')
-rw-r--r--libavcodec/qsvenc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index 088a61de54..725651e2e1 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -46,10 +46,12 @@
#define QSV_HAVE_LA_HRD QSV_VERSION_ATLEAST(1, 11)
#if defined(_WIN32)
+#define QSV_HAVE_AVBR QSV_VERSION_ATLEAST(1, 3)
#define QSV_HAVE_ICQ QSV_VERSION_ATLEAST(1, 8)
#define QSV_HAVE_VCM QSV_VERSION_ATLEAST(1, 8)
#define QSV_HAVE_QVBR QSV_VERSION_ATLEAST(1, 11)
#else
+#define QSV_HAVE_AVBR 0
#define QSV_HAVE_ICQ 0
#define QSV_HAVE_VCM 0
#define QSV_HAVE_QVBR 0