mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-04 05:22:30 +00:00
unlock the queue
Original commit message from CVS: unlock the queue
This commit is contained in:
parent
0a2c1e9c61
commit
54580cf3fb
2 changed files with 4 additions and 0 deletions
|
@ -529,7 +529,9 @@ gst_queue_handle_src_event (GstPad *pad, GstEvent *event)
|
|||
g_mutex_lock (queue->qlock);
|
||||
|
||||
if (gst_element_get_state (GST_ELEMENT (queue)) == GST_STATE_PLAYING) {
|
||||
g_mutex_unlock (queue->qlock);
|
||||
g_warning ("queue event in playing state");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
|
|
|
@ -529,7 +529,9 @@ gst_queue_handle_src_event (GstPad *pad, GstEvent *event)
|
|||
g_mutex_lock (queue->qlock);
|
||||
|
||||
if (gst_element_get_state (GST_ELEMENT (queue)) == GST_STATE_PLAYING) {
|
||||
g_mutex_unlock (queue->qlock);
|
||||
g_warning ("queue event in playing state");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
switch (GST_EVENT_TYPE (event)) {
|
||||
|
|
Loading…
Reference in a new issue