[gstreamer-bugs] [Bug 405451] [alsasink] deadlocks when disconnecting USB Sounddevice
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Thu Feb 8 08:21:20 PST 2007
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=405451
GStreamer | gst-plugins-base | Ver: 0.10.x
Tim-Philipp Müller changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Summary|[alsasink] hangs when |[alsasink] deadlocks when
|disconnecting USB |disconnecting USB
|Sounddevice |Sounddevice
------- Comment #4 from Tim-Philipp Müller 2007-02-08 16:19 UTC -------
indeed, in gst_base_audio_sink_change_state() we take the object lock:
...
case GST_STATE_CHANGE_PLAYING_TO_PAUSED:
/* need to take the lock so we don't interfere with an
* async play */
GST_OBJECT_LOCK (sink);
/* ringbuffer cannot start anymore */
gst_ring_buffer_may_start (sink->ringbuffer, FALSE);
gst_ring_buffer_pause (sink->ringbuffer);
GST_OBJECT_UNLOCK (sink);
break;
...
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Gstreamer-bugs
mailing list