Better add the check instead of crashing

Original commit message from CVS:
Better add the check instead of crashing
This commit is contained in:
Wim Taymans 2002-06-16 19:48:38 +00:00
parent bfca3a0739
commit 02adc6b669

View file

@ -955,8 +955,7 @@ gst_fast_scheduler_iterate (GstScheduler * sched)
continue;
}
/* if (chain->num_cothreaded > 1) { */
if (FALSE) {
if (chain->num_cothreaded > 1) {
g_warning ("this scheduler can only deal with 1 cothreaded element in a chain");
state = GST_SCHEDULER_STATE_ERROR;