From 0d994e41ade5087d2c0b5f76d9e9aa925c5a7183 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 9 Dec 2002 22:31:16 +0000 Subject: [PATCH] turn off cothreads, fix some typos Original commit message from CVS: turn off cothreads, fix some typos --- gst/schedulers/gstoptimalscheduler.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gst/schedulers/gstoptimalscheduler.c b/gst/schedulers/gstoptimalscheduler.c index 9123cb7f52..ed292d0002 100644 --- a/gst/schedulers/gstoptimalscheduler.c +++ b/gst/schedulers/gstoptimalscheduler.c @@ -272,8 +272,8 @@ static void gst_opt_scheduler_init (GstOptScheduler *scheduler) { scheduler->elements = NULL; - //scheduler->use_cothreads = FALSE; - scheduler->use_cothreads = TRUE; + scheduler->use_cothreads = FALSE; + //scheduler->use_cothreads = TRUE; scheduler->iterations = 1; } @@ -1046,7 +1046,7 @@ gst_opt_scheduler_remove_element (GstScheduler *sched, GstElement *element) GST_INFO (GST_CAT_SCHEDULING, "removing element \"%s\" from scheduler", GST_ELEMENT_NAME (element)); - /* decoupled elements are not added to the scheduler lists and should therefor + /* decoupled elements are not added to the scheduler lists and should therefore * no be removed */ if (GST_ELEMENT_IS_DECOUPLED (element)) return; @@ -1125,7 +1125,7 @@ gst_opt_scheduler_pad_connect (GstScheduler *sched, GstPad *srcpad, GstPad *sink element1 = GST_PAD_PARENT (srcpad); element2 = GST_PAD_PARENT (sinkpad); - /* first we need to figure out whar type of connection we're dealing + /* first we need to figure out what type of connection we're dealing * with */ if (element1->loopfunc && element2->loopfunc) type = GST_OPT_LOOP_TO_LOOP; @@ -1252,7 +1252,7 @@ gst_opt_scheduler_pad_connect (GstScheduler *sched, GstPad *srcpad, GstPad *sink break; } case GST_OPT_INVALID: - g_warning ("(internal error) invalid element connection"); + g_warning ("(internal error) invalid element connection, what are you doing?"); break; } }