summaryrefslogtreecommitdiff
path: root/source/l/qt-gstreamer/qt-gstreamer.gstreamer-1.16.x.diff
blob: d97ace63d6bb2004953a65ec312cf8d4ff1fbd55 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)