mirror of
https://github.com/python-LimeReport/containers.git
synced 2024-12-24 16:44:43 +03:00
27 lines
955 B
Diff
27 lines
955 B
Diff
|
diff --git a/src/plugins/multimedia/ffmpeg/qffmpegvaapisymbols.cpp b/src/plugins/multimedia/ffmpeg/qffmpegvaapisymbols.cpp
|
||
|
index ec212f5..58bf4dc 100644
|
||
|
--- a/src/plugins/multimedia/ffmpeg/qffmpegvaapisymbols.cpp
|
||
|
+++ b/src/plugins/multimedia/ffmpeg/qffmpegvaapisymbols.cpp
|
||
|
@@ -37,7 +37,10 @@
|
||
|
return {};
|
||
|
}
|
||
|
|
||
|
-constexpr size_t symbolsCount = 39
|
||
|
+constexpr size_t symbolsCount = 38
|
||
|
+#if VA_CHECK_VERSION(1, 9, 0)
|
||
|
+ + 1
|
||
|
+#endif
|
||
|
#ifdef DYNAMIC_RESOLVE_VA_DRM_SYMBOLS
|
||
|
+ 1
|
||
|
#endif
|
||
|
@@ -79,7 +82,9 @@
|
||
|
DEFINE_FUNC(vaCreateBuffer, 7, VA_STATUS_ERROR_OPERATION_FAILED);
|
||
|
DEFINE_FUNC(vaMapBuffer, 3, VA_STATUS_ERROR_OPERATION_FAILED);
|
||
|
DEFINE_FUNC(vaUnmapBuffer, 2, VA_STATUS_ERROR_OPERATION_FAILED);
|
||
|
+#if VA_CHECK_VERSION(1, 9, 0)
|
||
|
DEFINE_FUNC(vaSyncBuffer, 3, VA_STATUS_ERROR_OPERATION_FAILED);
|
||
|
+#endif
|
||
|
DEFINE_FUNC(vaDestroyBuffer, 2, VA_STATUS_ERROR_OPERATION_FAILED);
|
||
|
|
||
|
DEFINE_FUNC(vaCreateSurfaces, 8, VA_STATUS_ERROR_OPERATION_FAILED);
|