mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 16:50:47 +00:00
Set the right scheduler on the pads of decoupled elements.
Original commit message from CVS: Set the right scheduler on the pads of decoupled elements.
This commit is contained in:
parent
b7b63ff4cd
commit
be30fb14fd
1 changed files with 1 additions and 4 deletions
|
@ -589,6 +589,7 @@ gst_basic_scheduler_cothreaded_chain (GstBin * bin, GstSchedulerChain * chain)
|
|||
GST_DEBUG_PAD_NAME (peerpad));
|
||||
GST_RPAD_GETHANDLER (peerpad) = GST_RPAD_GETFUNC (peerpad);
|
||||
}
|
||||
gst_pad_set_scheduler (peerpad, GST_SCHEDULER (chain->sched));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1115,10 +1116,6 @@ static gboolean
|
|||
gst_basic_scheduler_interrupt (GstScheduler *sched, GstElement *element)
|
||||
{
|
||||
|
||||
if (GST_FLAG_IS_SET (element, GST_ELEMENT_DECOUPLED)) {
|
||||
g_warning ("interrupt decoupled element");
|
||||
}
|
||||
|
||||
GST_FLAG_SET (element, GST_ELEMENT_COTHREAD_STOPPING);
|
||||
do_switch_to_main (sched);
|
||||
|
||||
|
|
Loading…
Reference in a new issue