Commit 85307bf9 authored by Mark Nauwelaerts's avatar Mark Nauwelaerts Committed by Tim-Philipp Müller
Browse files

baseparse: add some debug statements

parent 9394662f
...@@ -3058,12 +3058,18 @@ gst_base_parse_handle_tag (GstBaseParse * parse, GstEvent * event) ...@@ -3058,12 +3058,18 @@ gst_base_parse_handle_tag (GstBaseParse * parse, GstEvent * event)
gst_event_parse_tag (event, &taglist); 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; 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; 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; parse->priv->post_max_bitrate = FALSE;
}
} }
/** /**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment