File fix-build-with-gstreamer-1.16.patch of Package gstreamer-plugins-qt4

--- qt-gstreamer-1.2.0/src/QGst/caps.cpp.orig	2014-07-08 20:38:36.000000000 +0200
+++ qt-gstreamer-1.2.0/src/QGst/caps.cpp	2019-07-05 07:30:28.270760950 +0200
@@ -54,7 +54,7 @@
 
 void Caps::append(const CapsPtr & caps2)
 {
-    gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
+    gst_caps_append(object<GstCaps>(), gst_caps_copy(static_cast<const GstCaps *>(caps2)));
 }
 
 CapsPtr Caps::merge(CapsPtr & caps2)
openSUSE Build Service is sponsored by