mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
baseparse: add some debug statements
This commit is contained in:
parent
4c48e791b3
commit
841e09e234
1 changed files with 9 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue