]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
gst/gstinfo.h: Hey! Let's print the pad name if the pointer != NULL instead of when...
authorJan Schmidt <thaytan@mad.scientist.com>
Mon, 28 Nov 2005 19:43:27 +0000 (19:43 +0000)
committerJan Schmidt <thaytan@mad.scientist.com>
Mon, 28 Nov 2005 19:43:27 +0000 (19:43 +0000)
Original commit message from CVS:
* gst/gstinfo.h:
Hey! Let's print the pad name if the pointer != NULL instead
of when it == NULL :-)

ChangeLog
gst/gstinfo.h

index 50e92cd5f7bbd1c5d7cb29081c618a0a82e9c90c..6566bc1e58db9e5abf82efe8404327671784e7b9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-11-28  Jan Schmidt  <thaytan@mad.scientist.com>
+
+       * gst/gstinfo.h:
+       Hey! Let's print the pad name if the pointer != NULL instead
+       of when it == NULL :-)
+
 2005-11-28  Wim Taymans  <wim@fluendo.com>
 
        * check/gst/gstutils.c: (GST_START_TEST):
index 0897c2ff91c30c20d76994226b9932cd70d8574f..1030edac0ac5d645b6c7e9e7093f02cea2032b11 100644 (file)
@@ -189,7 +189,7 @@ struct _GstDebugCategory {
   ((GST_OBJECT_PARENT(pad) != NULL) ? \
   GST_STR_NULL (GST_OBJECT_NAME (GST_OBJECT_PARENT(pad))) : \
   "''" ) : "''", \
-  (pad==NULL) ? GST_OBJECT_NAME (pad) : "''"
+  (pad != NULL) ? GST_OBJECT_NAME (pad) : "''"
 
 /**
  * GST_FUNCTION: