mirror of
https://github.com/python-LimeReport/containers.git
synced 2025-10-15 07:34:48 +03:00
wip
This commit is contained in:
11
qt-patches/apply-patches.sh
Executable file
11
qt-patches/apply-patches.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
BASE_FOLDER="/qt-patches"
|
||||
|
||||
echo "Qt version: $QT_VERSION"
|
||||
|
||||
# if qt verion is 6.5.3 apply fix
|
||||
if [ "$QT_VERSION" = "6.5.3" ]; then
|
||||
echo "Apply fix-build-vaappi-version-1.9.0.diff"
|
||||
patch -p1 < "$BASE_FOLDER/fix-build-vaappi-version-1.9.0.diff"
|
||||
fi
|
26
qt-patches/fix-build-vaappi-version-1.9.0.diff
Normal file
26
qt-patches/fix-build-vaappi-version-1.9.0.diff
Normal file
@@ -0,0 +1,26 @@
|
||||
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);
|
Reference in New Issue
Block a user