gstreamermm-next:add patch

This commit is contained in:
alihanozturk
2017-02-17 15:42:02 +03:00
parent 26908fe7b0
commit 4da0014dda
2 changed files with 18 additions and 0 deletions
@@ -0,0 +1,15 @@
Author: Marcin Kolny <marcin.kolny@gmail.com>
Description: Fix warnings
Origin: https://git.gnome.org/browse/gstreamermm/commit/gstreamer/gstreamermm/check.cc?id=c5006faf05bc4b46767d30f42bcb6157836b7540
Last-update: 2016-09-25
--- a/gstreamer/gstreamermm/check.cc
+++ b/gstreamer/gstreamermm/check.cc
@@ -54,7 +54,7 @@
element = ElementFactory::create_element (factory, factory);
- ThrowIf (element, "Could not create a '" + factory + "' element");
+ ThrowIf (!!element, "Could not create a '" + factory + "' element");
CheckRefCount (element->gobj(), factory, 1);
return element;
@@ -18,6 +18,9 @@
<Dependency>gstreamer-next-devel</Dependency>
<Dependency>gst-plugins-base-next-devel</Dependency>
</BuildDependencies>
<Patches>
<Patch level="1">03-fix-ftbfs.patch</Patch>
</Patches>
</Source>
<Package>