diff options
author | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2011-09-19 14:54:11 +0200 |
---|---|---|
committer | Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> | 2011-09-19 14:55:12 +0200 |
commit | b142663ca53c8d2bb8d4d03ded72ec960d2ca8a4 (patch) | |
tree | 5c0b4b35412c1f57bc3853aa9c620a5ac88c66aa /gst/videoparsers/gsth263parse.c | |
parent | 66f644cfcc2106d5387a02ada91ff29af098ad38 (diff) | |
download | gstreamer-plugins-bad-b142663ca53c8d2bb8d4d03ded72ec960d2ca8a4.tar.gz |
h263parse: bring debug statements up to desired specs
Diffstat (limited to 'gst/videoparsers/gsth263parse.c')
-rw-r--r-- | gst/videoparsers/gsth263parse.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/gst/videoparsers/gsth263parse.c b/gst/videoparsers/gsth263parse.c index d83f8ef2e..4a5633f3b 100644 --- a/gst/videoparsers/gsth263parse.c +++ b/gst/videoparsers/gsth263parse.c @@ -101,7 +101,7 @@ gst_h263_parse_start (GstBaseParse * parse) { GstH263Parse *h263parse = GST_H263_PARSE (parse); - GST_DEBUG ("Start"); + GST_DEBUG_OBJECT (h263parse, "start"); h263parse->bitrate = 0; h263parse->profile = -1; @@ -117,7 +117,7 @@ gst_h263_parse_start (GstBaseParse * parse) static gboolean gst_h263_parse_stop (GstBaseParse * parse) { - GST_DEBUG ("Stop"); + GST_DEBUG_OBJECT (parse, "stop"); return TRUE; } @@ -138,7 +138,7 @@ gst_h263_parse_sink_event (GstBaseParse * parse, GstEvent * event) gst_event_parse_tag (event, &taglist); if (gst_tag_list_get_uint (taglist, GST_TAG_BITRATE, &h263parse->bitrate)) - GST_DEBUG ("Got bitrate tag: %u", h263parse->bitrate); + GST_DEBUG_OBJECT (h263parse, "got bitrate tag: %u", h263parse->bitrate); break; } @@ -200,7 +200,7 @@ gst_h263_parse_set_src_caps (GstH263Parse * h263parse, if (sink_caps && (st = gst_caps_get_structure (sink_caps, 0)) && gst_structure_get_fraction (st, "framerate", &fr_num, &fr_denom)) { /* Got it in caps - nothing more to do */ - GST_DEBUG ("Sink caps override framerate from headers"); + GST_DEBUG_OBJECT (h263parse, "sink caps override framerate from headers"); } else { /* Caps didn't have the framerate - get it from params */ gst_h263_parse_get_framerate (params, &fr_num, &fr_denom); @@ -307,7 +307,8 @@ gst_h263_parse_check_valid_frame (GstBaseParse * parse, /* XXX: After getting a keyframe, should we adjust min_frame_size to * something smaller so we don't end up collecting too many non-keyframes? */ - GST_DEBUG ("Found a frame of size %d at pos %d", *framesize, *skipsize); + GST_DEBUG_OBJECT (h263parse, "found a frame of size %d at pos %d", + *framesize, *skipsize); return TRUE; |