diff options
author | Tim-Philipp Müller <tim@centricular.net> | 2013-04-01 22:13:10 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2013-04-01 22:17:20 +0100 |
commit | 0dd761101c2287e108370742594905e2c15408f0 (patch) | |
tree | 2a6aabd82ba6def6acc679feec58089fb5c5f982 /gst/gstinfo.c | |
parent | cef9018eaf9620b2b9b37cce5eebdbfdbd8194ee (diff) |
info: minor cosmetic changes
Let's not use ugly leading underscores for
static functions.
Diffstat (limited to 'gst/gstinfo.c')
-rw-r--r-- | gst/gstinfo.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 14558ebb9..aa83b9c06 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -600,7 +600,7 @@ gst_info_structure_to_string (const GstStructure * s) } static inline gchar * -__gst_buffer_describe (GstBuffer * buffer) +gst_info_describe_buffer (GstBuffer * buffer) { return g_strdup_printf ("buffer: %p, pts %" GST_TIME_FORMAT ", dts %" GST_TIME_FORMAT ", dur %" GST_TIME_FORMAT ", size %" G_GSIZE_FORMAT @@ -613,7 +613,7 @@ __gst_buffer_describe (GstBuffer * buffer) } static inline gchar * -__gst_event_describe (GstEvent * event) +gst_info_describe_event (GstEvent * event) { gchar *s, *ret; @@ -627,7 +627,7 @@ __gst_event_describe (GstEvent * event) } static inline gchar * -__gst_message_describe (GstMessage * message) +gst_info_describe_message (GstMessage * message) { gchar *s, *ret; @@ -643,7 +643,7 @@ __gst_message_describe (GstMessage * message) } static inline gchar * -__gst_query_describe (GstQuery * query) +gst_info_describe_query (GstQuery * query) { gchar *s, *ret; @@ -696,7 +696,7 @@ gst_debug_print_object (gpointer ptr) return __gst_date_time_serialize ((GstDateTime *) ptr, TRUE); } if (GST_IS_BUFFER (ptr)) { - return __gst_buffer_describe (GST_BUFFER_CAST (ptr)); + return gst_info_describe_buffer (GST_BUFFER_CAST (ptr)); } #ifdef USE_POISONING if (*(guint32 *) ptr == 0xffffffff) { @@ -713,13 +713,13 @@ gst_debug_print_object (gpointer ptr) return g_strdup_printf ("<%s@%p>", G_OBJECT_TYPE_NAME (object), object); } if (GST_IS_MESSAGE (object)) { - return __gst_message_describe (GST_MESSAGE_CAST (object)); + return gst_info_describe_message (GST_MESSAGE_CAST (object)); } if (GST_IS_QUERY (object)) { - return __gst_query_describe (GST_QUERY_CAST (object)); + return gst_info_describe_query (GST_QUERY_CAST (object)); } if (GST_IS_EVENT (object)) { - return __gst_event_describe (GST_EVENT_CAST (object)); + return gst_info_describe_event (GST_EVENT_CAST (object)); } if (GST_IS_CONTEXT (object)) { GstContext *context = GST_CONTEXT_CAST (object); |