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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jul 5 11:15:05 UTC 2016


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

            Bug ID: 768439
           Summary: [PATCH] baseparse: Don't add calculated bitrates until
                    threshold
    Classification: Platform
           Product: GStreamer
           Version: 1.8.2
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: jan.steffens at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Created attachment 330897
  --> https://bugzilla.gnome.org/attachment.cgi?id=330897&action=edit
[PATCH] 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.

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