diff options
author | Zhong Li <zhong.li@intel.com> | 2018-01-30 18:07:23 +0800 |
---|---|---|
committer | Maxym Dmytrychenko <maxim.d33@gmail.com> | 2018-02-12 00:34:34 +0100 |
commit | 8bb9824fcbc5a6ebf68391d70a2c4f03447990d2 (patch) | |
tree | 28d8f4d9a80d70b7805f7c47953e9e1df20ecc60 /libavcodec/qsvenc.h | |
parent | e412d683fe0349bb8450645813a23158bb4ebd66 (diff) | |
download | ffmpeg-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.h | 2 |
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 |