blob: 5ce449799d858cc1ebcf0458c1e50af79012b95a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- 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;
|