mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +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
|
#endif
|
||||||
/* if the scheduler interrupted, make sure we send an INTERRUPTED event to the
|
/* 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) {
|
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));
|
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);
|
GstOptScheduler *osched = GST_OPT_SCHEDULER_CAST (sched);
|
||||||
|
|
||||||
|
GST_INFO (GST_CAT_SCHEDULING, "scheduler set interrupted state");
|
||||||
osched->state = GST_OPT_SCHEDULER_STATE_INTERRUPTED;
|
osched->state = GST_OPT_SCHEDULER_STATE_INTERRUPTED;
|
||||||
}
|
}
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
Loading…
Reference in a new issue