[Bug 685730] New: [audiodecoder] Timestamp and buffer tracking not threadsafe and robust

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Oct 8 07:38:13 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=685730
  GStreamer | gst-plugins-base | git

           Summary: [audiodecoder] Timestamp and buffer tracking not
                    threadsafe and robust
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


audiodecoder keeps a queue of pending input buffers that is filled before
calling handle_frame() and cleaned in finish_frame(). For elements that have a
different streaming thread on the srcpad (gst-omx, gst-amc, probably others)
this can lead to buffers being removed from the queue while the subclass is
inside handle_frame() and uses them.


Also the solution to just drop all frames from the queue if -1 is passed to
finish_frame() is breaking timestamp tracking if the decoder still has input
queued when outputting something.

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