mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
Some extra debug info
Original commit message from CVS: Some extra debug info
This commit is contained in:
parent
eab16fcf18
commit
b87dbe8c98
1 changed files with 3 additions and 1 deletions
|
@ -891,8 +891,9 @@ gst_opt_scheduler_get_wrapper (GstPad *srcpad)
|
|||
}
|
||||
#endif
|
||||
/* if the scheduler interrupted, make sure we send an INTERRUPTED event to the
|
||||
* > * loop based element */
|
||||
* loop based element */
|
||||
if (osched->state == GST_OPT_SCHEDULER_STATE_INTERRUPTED) {
|
||||
GST_INFO (GST_CAT_SCHEDULING, "scheduler interrupted, return interrupt event");
|
||||
return GST_BUFFER (gst_event_new (GST_EVENT_INTERRUPT));
|
||||
}
|
||||
|
||||
|
@ -1250,6 +1251,7 @@ gst_opt_scheduler_interrupt (GstScheduler *sched, GstElement *element)
|
|||
{
|
||||
GstOptScheduler *osched = GST_OPT_SCHEDULER_CAST (sched);
|
||||
|
||||
GST_INFO (GST_CAT_SCHEDULING, "scheduler set interrupted state");
|
||||
osched->state = GST_OPT_SCHEDULER_STATE_INTERRUPTED;
|
||||
}
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue