[gstreamer-bugs] [Bug 579203] New: baseaudiosink: unparenting the ringbuffer in NULL causes trouble

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Apr 16 12:19:54 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=579203

  GStreamer | gst-plugins-base | Ver: git
           Summary: baseaudiosink: unparenting the ringbuffer in NULL causes
                    trouble
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: wim.taymans at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


A recent commit added unparenting of the ringbuffer when baseaudiosink goes to
NULL. 

This has the side effect that the clock provided by the audiosink resets back
to 0, essentially going backwards, which gets then corrected by the GstClock
base class. 

The ultimate effect is that the clock stands still for a while, causing
trouble.

Steps to reproduce:

Modify seek.c to go to NULL when pressing the stop button.
launch ./seek 15 "audiotestsrc ! alsasink"
press play, let it play for a while
press stop
press play again, see the slider stall for the duration of the previous play
time.

Patch follows.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=579203.




More information about the Gstreamer-bugs mailing list