From 9f5ea354239f16a9d2d48dd6cc2b1445ab5128e0 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Mon, 28 Nov 2005 19:43:27 +0000 Subject: [PATCH] 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 :-) --- ChangeLog | 6 ++++++ gst/gstinfo.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 50e92cd..6566bc1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-11-28 Jan Schmidt + + * gst/gstinfo.h: + Hey! Let's print the pad name if the pointer != NULL instead + of when it == NULL :-) + 2005-11-28 Wim Taymans * check/gst/gstutils.c: (GST_START_TEST): diff --git a/gst/gstinfo.h b/gst/gstinfo.h index 0897c2f..1030eda 100644 --- a/gst/gstinfo.h +++ b/gst/gstinfo.h @@ -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: -- 2.7.4