[FFmpeg-devel] [PATCH 4/6] qsvenc: libmfx no longer supports multi-frame encode since version 2.0 (oneVPL)
Haihao Xiang
haihao.xiang at intel.com
Wed Sep 16 09:44:55 EEST 2020
---
libavcodec/qsvenc.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/qsvenc.h b/libavcodec/qsvenc.h
index 77f886981c..9f3dc0b2ad 100644
--- a/libavcodec/qsvenc.h
+++ b/libavcodec/qsvenc.h
@@ -64,7 +64,7 @@
#define QSV_HAVE_ICQ QSV_VERSION_ATLEAST(1, 28)
#define QSV_HAVE_VCM 0
#define QSV_HAVE_QVBR QSV_VERSION_ATLEAST(1, 28)
-#define QSV_HAVE_MF QSV_VERSION_ATLEAST(1, 25)
+#define QSV_HAVE_MF QSV_VERSION_ATLEAST(1, 25) && !QSV_VERSION_ATLEAST(2, 0)
#endif
#if !QSV_HAVE_LA_DS
--
2.25.1
More information about the ffmpeg-devel
mailing list