mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
Make sure we interrupt the right scheduler on the right pad.
Original commit message from CVS: Make sure we interrupt the right scheduler on the right pad.
This commit is contained in:
parent
a0979c2ddc
commit
b7b63ff4cd
2 changed files with 4 additions and 4 deletions
|
@ -370,7 +370,7 @@ restart:
|
|||
if (queue->interrupt) {
|
||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "interrupted!!");
|
||||
g_mutex_unlock (queue->qlock);
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
if (gst_scheduler_interrupt (GST_RPAD_SCHED (queue->sinkpad), GST_ELEMENT (queue)))
|
||||
return;
|
||||
goto restart;
|
||||
}
|
||||
|
@ -456,7 +456,7 @@ restart:
|
|||
if (queue->interrupt) {
|
||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "interrupted!!");
|
||||
g_mutex_unlock (queue->qlock);
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
if (gst_scheduler_interrupt (GST_RPAD_SCHED (queue->srcpad), GST_ELEMENT (queue)))
|
||||
return NULL;
|
||||
goto restart;
|
||||
}
|
||||
|
|
|
@ -370,7 +370,7 @@ restart:
|
|||
if (queue->interrupt) {
|
||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "interrupted!!");
|
||||
g_mutex_unlock (queue->qlock);
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
if (gst_scheduler_interrupt (GST_RPAD_SCHED (queue->sinkpad), GST_ELEMENT (queue)))
|
||||
return;
|
||||
goto restart;
|
||||
}
|
||||
|
@ -456,7 +456,7 @@ restart:
|
|||
if (queue->interrupt) {
|
||||
GST_DEBUG_ELEMENT (GST_CAT_DATAFLOW, queue, "interrupted!!");
|
||||
g_mutex_unlock (queue->qlock);
|
||||
if (gst_element_interrupt (GST_ELEMENT (queue)))
|
||||
if (gst_scheduler_interrupt (GST_RPAD_SCHED (queue->srcpad), GST_ELEMENT (queue)))
|
||||
return NULL;
|
||||
goto restart;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue