gst/gstinfo.h: Hey! Let's print the pad name if the pointer != NULL instead of when it == NULL :-)

Original commit message from CVS:
* gst/gstinfo.h:
Hey! Let's print the pad name if the pointer != NULL instead
of when it == NULL :-)
This commit is contained in:
Jan Schmidt 2005-11-28 19:43:27 +00:00
parent 2dc0ef57fd
commit 9f5ea35423
2 changed files with 7 additions and 1 deletions

View file

@ -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):

View 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: