mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
Better add the check instead of crashing
Original commit message from CVS: Better add the check instead of crashing
This commit is contained in:
parent
bfca3a0739
commit
02adc6b669
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue