+2006-02-19 Julien MOUTTE <julien@moutte.net>
+
+ * gst/gstinfo.h: Add GST_STR_NULL to the second string.
+ * gst/gstpad.c: (gst_pad_set_event_function),
+ (gst_pad_set_query_function), (gst_pad_set_query_type_function),
+ (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
+ 2 strings. You can't use the STR_NULL macro on that.
+
2006-02-19 Sebastien Moutte <sebastien@moutte.net>
* gst/gstpad.c: (gst_pad_set_event_function),
GST_PAD_EVENTFUNC (pad) = event;
GST_CAT_DEBUG (GST_CAT_PADS, "eventfunc for %s:%s set to %s",
- GST_STR_NULL (GST_DEBUG_PAD_NAME (pad)),
- GST_STR_NULL (GST_DEBUG_FUNCPTR_NAME (event)));
+ GST_DEBUG_PAD_NAME (pad), GST_DEBUG_FUNCPTR_NAME (event));
}
/**
GST_PAD_QUERYFUNC (pad) = query;
GST_CAT_DEBUG (GST_CAT_PADS, "queryfunc for %s:%s set to %s",
- GST_STR_NULL (GST_DEBUG_PAD_NAME (pad)),
- GST_STR_NULL (GST_DEBUG_FUNCPTR_NAME (query)));
+ GST_DEBUG_PAD_NAME (pad), GST_DEBUG_FUNCPTR_NAME (query));
}
/**
GST_PAD_QUERYTYPEFUNC (pad) = type_func;
GST_CAT_DEBUG (GST_CAT_PADS, "querytypefunc for %s:%s set to %s",
- GST_STR_NULL (GST_DEBUG_PAD_NAME (pad)),
- GST_STR_NULL (GST_DEBUG_FUNCPTR_NAME (type_func)));
+ GST_DEBUG_PAD_NAME (pad), GST_DEBUG_FUNCPTR_NAME (type_func));
}
/**
GST_PAD_GETCAPSFUNC (pad) = getcaps;
GST_CAT_DEBUG (GST_CAT_PADS, "getcapsfunc for %s:%s set to %s",
- GST_STR_NULL (GST_DEBUG_PAD_NAME (pad)),
- GST_STR_NULL (GST_DEBUG_FUNCPTR_NAME (getcaps)));
+ GST_DEBUG_PAD_NAME (pad), GST_DEBUG_FUNCPTR_NAME (getcaps));
}
/**