[Bug 678415] New: DirectsoundSink. stuck if usb output device is unplugged duing play XP

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 19 08:34:24 PDT 2012


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

           Summary: DirectsoundSink. stuck if usb output device is
                    unplugged duing play XP
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Windows
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: ambre.tanmay at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


On Windows XP SP3 machine. Using USB headsets. If the device is unplugged code
gets stuck at 
gstdirectsoundsink.c@
gst_directsound_sink_write @
goto calculate_freesize;

The program goes in an infinite loop.

Any attempt to shutdown the pipeline using
gst_element_set_state(pipe,GST_STATE_NULL) is stuck.

How to reproduce:
Prerequisite: Windows XP service pack 3, USB sound output device as primary
device.
1. Create a pipeline playing audio where sink element is directsoundsink.
2. Play the pipeline.
3. Unplug the USB

Result: The pipeline is stuck.
Setting pipeline to NULL doesn't work.

No Problem on Windows 7.

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