tim at centricular.com
Wed Jun 4 22:59:13 PDT 2014
On Tue, 2014-06-03 at 16:27 +0800, hustxyj wrote:
> I was using autaudiosink and appsrc as my sink and src. A usb earphone
> was used as output device. The problem was: when I detected the
> plugging out of the usb earphone, I called gst_element_set_state(pipe,
> GST_STATE_NULL). Then the function blocked and did not return.
That sounds like a bug somewhere. Could be in GStreamer, or in the
Maybe connect to the process with gdb to see where the different threads
What version of GStreamer is this with? I remember there being an issue
with 0.10 when usb sound devices were disconnected, and I fixed some
issues in 1.x.
Tim Müller, Centricular Ltd - http://www.centricular.com
More information about the gstreamer-devel