upgpkg: sbcl 2.2.11-1
[arch-packages.git] / qt-gstreamer / trunk / gstreamer-1.16.patch
blob770f6519da55c9fe5cecc2e1545b5ac2e142db9c
1 From 6e4fb2f3fcfb453c5522c66457ac5ed8c3b1b05c Mon Sep 17 00:00:00 2001
2 From: George Kiagiadakis <george.kiagiadakis@collabora.com>
3 Date: Sat, 7 Sep 2019 10:49:38 +0300
4 Subject: QGst/caps: compilation fix from
5 https://bugs.kde.org/show_bug.cgi?id=406676#c2
7 Because the macro version of gst_caps_copy() confuses the C++ compiler
8 ---
9 src/QGst/caps.cpp | 3 ++-
10 1 file changed, 2 insertions(+), 1 deletion(-)
12 diff --git a/src/QGst/caps.cpp b/src/QGst/caps.cpp
13 index 3824d82..a15b701 100644
14 --- a/src/QGst/caps.cpp
15 +++ b/src/QGst/caps.cpp
16 @@ -54,7 +54,8 @@ QString Caps::toString() const
18 void Caps::append(const CapsPtr & caps2)
20 - gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
21 + const GstCaps * caps2ptr = caps2;
22 + gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2ptr));
25 CapsPtr Caps::merge(CapsPtr & caps2)
26 --
27 cgit v1.2.1