[gstreamer-bugs] [Bug 559111] ALSA sink hangs on USB audio device unplug while playing

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Nov 3 07:31:29 PST 2008


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

  GStreamer | gst-plugins-base | Ver: 0.10.21

Wim Taymans changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |wim.taymans at gmail.com
 Attachment #121868|none                        |reviewed
               Flag|                            |
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.22




------- Comment #2 from Wim Taymans  2008-11-03 15:31 UTC -------
I changed the patch a little so that it leaves the device open in non-blocking
mode. I rearranged the code so that it starts with a wait operation before
attempting the write. Please test it this also solves your problems.

        Based on patch by: Matthias Kretz <kretz at kde dot org>

        * ext/alsa/gstalsasink.c: (gst_alsasink_open),
        (gst_alsasink_prepare), (gst_alsasink_unprepare),
        (gst_alsasink_write):
        Make all access non-blocking so that we can better handle unplugging 
        of usb devices. Fixes #559111


-- 
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=559111.




More information about the Gstreamer-bugs mailing list