mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
Merge branch 'master' into 0.11
This commit is contained in:
commit
5fbdd763bb
1 changed files with 0 additions and 8 deletions
|
@ -1484,14 +1484,6 @@ gst_base_parse_update_bitrates (GstBaseParse * parse, GstBaseParseFrame * frame)
|
|||
if ((update_min || update_avg || update_max))
|
||||
gst_base_parse_post_bitrates (parse, update_min, update_avg, update_max);
|
||||
|
||||
/* If average bitrate changes that much and no valid (time) duration provided,
|
||||
* then post a new duration message so applications can update their cached
|
||||
* values */
|
||||
if (update_avg && !(parse->priv->duration_fmt == GST_FORMAT_TIME &&
|
||||
GST_CLOCK_TIME_IS_VALID (parse->priv->duration)))
|
||||
gst_element_post_message (GST_ELEMENT (parse),
|
||||
gst_message_new_duration (GST_OBJECT (parse), GST_FORMAT_TIME, -1));
|
||||
|
||||
exit:
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue