summaryrefslogtreecommitdiff
path: root/source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff')
-rw-r--r--source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff12
1 files changed, 12 insertions, 0 deletions
diff --git a/source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff b/source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff
new file mode 100644
index 00000000..d97ace63
--- /dev/null
+++ b/source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff
@@ -0,0 +1,12 @@
+--- ./src/QGst/caps.cpp.orig 2014-07-08 13:38:36.000000000 -0500
++++ ./src/QGst/caps.cpp 2019-04-21 20:39:17.810000919 -0500
+@@ -54,7 +54,8 @@
+
+ void Caps::append(const CapsPtr & caps2)
+ {
+- gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
++ GstCaps *caps3 = caps2;
++ gst_caps_append(object<GstCaps>(), gst_caps_copy(caps3));
+ }
+
+ CapsPtr Caps::merge(CapsPtr & caps2)