[Bug 758234] since gst-1.5.90 all MPEG media with variable bitrate freeze.
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Nov 18 03:43:48 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=758234
--- Comment #11 from Athanasios Oikonomou <athoik at gmail.com> ---
Maybe the problem is that we do not honor MIN_FRAMES_TO_POST_BITRATE or
update_threshold when bitrate changes in gstbaseparse.c
I will test if the following patch that honors MIN_FRAMES_TO_POST_BITRATE
helps.
--- a/libs/gst/base/gstbaseparse.c
+++ b/libs/gst/base/gstbaseparse.c
@@ -1725,7 +1725,8 @@ gst_base_parse_update_bitrates (GstBaseParse * parse,
GstBaseParseFrame * frame)
if (parse->priv->bitrate) {
parse->priv->avg_bitrate = parse->priv->bitrate;
/* spread this (confirmed) info ASAP */
- if (parse->priv->posted_avg_bitrate != parse->priv->avg_bitrate)
+ if (parse->priv->posted_avg_bitrate != parse->priv->avg_bitrate &&
+ parse->priv->framecount >= MIN_FRAMES_TO_POST_BITRATE)
parse->priv->tags_changed = TRUE;
}
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list