From: Mark Nauwelaerts Date: Mon, 25 Oct 2010 12:13:51 +0000 (+0200) Subject: baseparse: add some debug statements X-Git-Tag: RELEASE-0.10.29~316 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5aafc17dec1215770448c6f7017b343e064b4757;p=platform%2Fupstream%2Fgst-plugins-good.git baseparse: add some debug statements --- diff --git a/gst/audioparsers/gstbaseparse.c b/gst/audioparsers/gstbaseparse.c index 80a346b85..324cec9ac 100644 --- a/gst/audioparsers/gstbaseparse.c +++ b/gst/audioparsers/gstbaseparse.c @@ -3058,12 +3058,18 @@ gst_base_parse_handle_tag (GstBaseParse * parse, GstEvent * event) gst_event_parse_tag (event, &taglist); - if (gst_tag_list_get_uint (taglist, GST_TAG_MINIMUM_BITRATE, &tmp)) + if (gst_tag_list_get_uint (taglist, GST_TAG_MINIMUM_BITRATE, &tmp)) { + GST_DEBUG_OBJECT (parse, "upstream min bitrate %d", tmp); parse->priv->post_min_bitrate = FALSE; - if (gst_tag_list_get_uint (taglist, GST_TAG_BITRATE, &tmp)) + } + if (gst_tag_list_get_uint (taglist, GST_TAG_BITRATE, &tmp)) { + GST_DEBUG_OBJECT (parse, "upstream avg bitrate %d", tmp); parse->priv->post_avg_bitrate = FALSE; - if (gst_tag_list_get_uint (taglist, GST_TAG_MAXIMUM_BITRATE, &tmp)) + } + if (gst_tag_list_get_uint (taglist, GST_TAG_MAXIMUM_BITRATE, &tmp)) { + GST_DEBUG_OBJECT (parse, "upstream max bitrate %d", tmp); parse->priv->post_max_bitrate = FALSE; + } } /**