aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc')
-rw-r--r--multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc
new file mode 100644
index 000000000000..de63d41826cb
--- /dev/null
+++ b/multimedia/gstreamer1-plugins-good/files/patch-ext_qt_qtitem.cc
@@ -0,0 +1,11 @@
+--- ext/qt/qtitem.cc.orig 2021-08-02 23:44:43 UTC
++++ ext/qt/qtitem.cc
+@@ -104,7 +104,7 @@ QtGLVideoItem::QtGLVideoItem()
+ {
+ static volatile gsize _debug;
+
+- if (g_once_init_enter (&_debug)) {
++ if (g_once_init_enter ((unsigned long *)&_debug)) {
+ GST_DEBUG_CATEGORY_INIT (GST_CAT_DEFAULT, "qtglwidget", 0, "Qt GL Widget");
+ g_once_init_leave (&_debug, 1);
+ }