From be30fb14fdfa029e364291845d1257685f1e2ada Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 5 Jun 2002 18:10:55 +0000 Subject: [PATCH] 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. --- gst/schedulers/gstbasicscheduler.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gst/schedulers/gstbasicscheduler.c b/gst/schedulers/gstbasicscheduler.c index c7390e510a..8385ba17d7 100644 --- a/gst/schedulers/gstbasicscheduler.c +++ b/gst/schedulers/gstbasicscheduler.c @@ -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);