[gstreamer-bugs] [Bug 635231] New: baseaudiosink: protect against ringbuffer disappearing while in a query

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 18 16:48:28 PST 2010


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

           Summary: baseaudiosink: protect against ringbuffer disappearing
                    while in a query
    Classification: Desktop
           Product: GStreamer
           Version: unspecified
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: havard.graff at tandberg.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
      GNOME target: ---
     GNOME version: ---


Observed a case where the sink went to null-state during the query,
hence the ringbuffer-pointer was NULL, causing a crash.

Moving the ringbuffer-check code until after the query, and hold the
lock during the check and while using the spec-values. It should not matter
to the query wether the ringbuffer is present or not, and it actually
gets a time bit more time to get the ringbuffer set up in this case!

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