summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTunahan Erkoyuncu <tunahanerkoyuncu@gmail.com>2022-05-26 11:21:37 +0300
committerTunahan Erkoyuncu <tunahanerkoyuncu@gmail.com>2022-05-26 10:38:16 +0000
commit85a1b7e3a6d91b018863aabe243f3fd03865733e (patch)
treef12d266cf309dadc20ea214a98c9be7382efbfdd
parent35ebe097ff954b23eabd9845b05fbebd004bf7ff (diff)
Fix compile error on videonode plugin
Fixes compile error on imx6 toolchains that uses old version of gst. Pick-to: 5.15 Change-Id: Ic1c6d62355ab9208204583103e99a2c8b52acee2 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
-rw-r--r--src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp b/src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp
index 4e8a4e5d2..ae8608bba 100644
--- a/src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp
+++ b/src/plugins/videonode/imx6/qsgvivantevideomaterial.cpp
@@ -52,7 +52,9 @@
#include <QtMultimedia/private/qtmultimediaglobal_p.h>
#include "private/qgstvideobuffer_p.h"
+#if GST_CHECK_VERSION(1,14,0)
#include <gst/allocators/gstphysmemory.h>
+#endif
//#define QT_VIVANTE_VIDEO_DEBUG