aboutsummaryrefslogtreecommitdiff
path: root/libraries/gstreamermm/fix_warnings.patch
blob: fccb480a11d85c105f2763e40a8687604a369cfc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;