[Bug 768439] baseparse: Don't add calculated bitrates until threshold

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 5 16:43:54 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768439

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
commit d71e03b3beea024babb689b3e3a79a177dd9b55e
Author: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
Date:   Tue Jul 5 12:17:18 2016 +0200

    baseparse: Don't add calculated bitrates until threshold

    Waiting before posting calculated bitrates seems to be the
    intent of the code, so avoid adding them to the tag list
    pushed with the first frame.

    When the threshold is reached, gst_base_parse_update_bitrates
    sets tags_changed, so this posts the calculated ones right
    that moment.

    This prevents an insane average calculated from just the
    first (key) frame from getting posted.

    https://bugzilla.gnome.org/show_bug.cgi?id=768439

-- 
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