mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 15:18:21 +00:00
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:
parent
2dc0ef57fd
commit
9f5ea35423
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
2005-11-28 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* check/gst/gstutils.c: (GST_START_TEST):
|
* check/gst/gstutils.c: (GST_START_TEST):
|
||||||
|
|
|
@ -189,7 +189,7 @@ struct _GstDebugCategory {
|
||||||
((GST_OBJECT_PARENT(pad) != NULL) ? \
|
((GST_OBJECT_PARENT(pad) != NULL) ? \
|
||||||
GST_STR_NULL (GST_OBJECT_NAME (GST_OBJECT_PARENT(pad))) : \
|
GST_STR_NULL (GST_OBJECT_NAME (GST_OBJECT_PARENT(pad))) : \
|
||||||
"''" ) : "''", \
|
"''" ) : "''", \
|
||||||
(pad==NULL) ? GST_OBJECT_NAME (pad) : "''"
|
(pad != NULL) ? GST_OBJECT_NAME (pad) : "''"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GST_FUNCTION:
|
* GST_FUNCTION:
|
||||||
|
|
Loading…
Reference in a new issue