[Bug 669502] New: [baseparse] duration msg spam when upstream knows avg bitrate

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Feb 6 11:00:48 PST 2012


https://bugzilla.gnome.org/show_bug.cgi?id=669502
  GStreamer | gstreamer (core) | git

           Summary: [baseparse] duration msg spam when upstream knows avg
                    bitrate
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: jonas at hallerud.se
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=206927)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=206927)
Sample stream

* gets avg bitrate tag from upstream, sets priv->post_avg_bitrate = FALSE
* gst_base_parse_update_bitrates uses priv->posted_avg_bitrate to determine if
avg bitrate should be posted
* Since priv->post_avg_bitrate is FALSE, priv->posted_avg_bitrate is never set
in gst_base_parse_post_bitrates
* gst_base_parse_update_bitrates sets update_avg TRUE for every frame
* duration msg is posted on the bus for every frame
* when frames are small (eg aac) the bus spam is significant

Sample stream attached to show the problem:
gst-launch -v -m filesrc location=spam.mp4 ! qtdemux ! aacparse ! fakesink
A duration msg is posted for each aac frame.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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