mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 19:51:11 +00:00
release lock before doing signal handling
Original commit message from CVS: release lock before doing signal handling
This commit is contained in:
parent
f06853d6c2
commit
95b23e597d
2 changed files with 4 additions and 0 deletions
|
@ -352,7 +352,9 @@ restart:
|
|||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "adding buffer %p of size %d",buf,GST_BUFFER_SIZE(buf));
|
||||
|
||||
if (queue->level_buffers == queue->size_buffers) {
|
||||
g_mutex_unlock (queue->qlock);
|
||||
g_signal_emit (G_OBJECT (queue), gst_queue_signals[FULL], 0);
|
||||
g_mutex_lock (queue->qlock);
|
||||
|
||||
/* if this is a leaky queue... */
|
||||
if (queue->leaky) {
|
||||
|
|
|
@ -352,7 +352,9 @@ restart:
|
|||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "adding buffer %p of size %d",buf,GST_BUFFER_SIZE(buf));
|
||||
|
||||
if (queue->level_buffers == queue->size_buffers) {
|
||||
g_mutex_unlock (queue->qlock);
|
||||
g_signal_emit (G_OBJECT (queue), gst_queue_signals[FULL], 0);
|
||||
g_mutex_lock (queue->qlock);
|
||||
|
||||
/* if this is a leaky queue... */
|
||||
if (queue->leaky) {
|
||||
|
|
Loading…
Reference in a new issue