mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
Schedule next chain on interrupt
Original commit message from CVS: Schedule next chain on interrupt
This commit is contained in:
parent
71775c37e3
commit
777cae1b0b
1 changed files with 5 additions and 0 deletions
|
@ -978,6 +978,7 @@ gst_opt_scheduler_get_wrapper (GstPad *srcpad)
|
|||
group = unref_group (group);
|
||||
/* group is gone */
|
||||
if (group == NULL) {
|
||||
GST_INFO (GST_CAT_SCHEDULING, "group %p destroyed, sending interrupt", group);
|
||||
return GST_BUFFER (gst_event_new (GST_EVENT_INTERRUPT));
|
||||
}
|
||||
}
|
||||
|
@ -1756,6 +1757,10 @@ gst_opt_scheduler_iterate (GstScheduler *sched)
|
|||
GST_INFO (GST_CAT_SCHEDULING, "scheduler %p is in error", sched);
|
||||
break;
|
||||
}
|
||||
else if (osched->state == GST_OPT_SCHEDULER_STATE_INTERRUPTED) {
|
||||
GST_INFO (GST_CAT_SCHEDULING, "scheduler %p is interrupted, continue with next chain", sched);
|
||||
osched->state = GST_OPT_SCHEDULER_STATE_RUNNING;
|
||||
}
|
||||
|
||||
GST_INFO (GST_CAT_SCHEDULING, "iterate scheduled %p", chain);
|
||||
|
||||
|
|
Loading…
Reference in a new issue