mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 07:58:51 +00:00
Partially revert last change, since it breaks things. wtay: FIXME!
Original commit message from CVS: Partially revert last change, since it breaks things. wtay: FIXME!
This commit is contained in:
parent
0d994e41ad
commit
a818246c70
1 changed files with 4 additions and 0 deletions
|
@ -154,9 +154,13 @@ gst_pipeline_change_state (GstElement *element)
|
||||||
case GST_STATE_PAUSED_TO_READY:
|
case GST_STATE_PAUSED_TO_READY:
|
||||||
break;
|
break;
|
||||||
case GST_STATE_READY_TO_NULL:
|
case GST_STATE_READY_TO_NULL:
|
||||||
|
/* FIXME: calling gst_scheduler_reset() here is bad, since we
|
||||||
|
* might not be in cothread 0 */
|
||||||
|
#if 0
|
||||||
if (GST_ELEMENT_SCHED (element)) {
|
if (GST_ELEMENT_SCHED (element)) {
|
||||||
gst_scheduler_reset (GST_ELEMENT_SCHED (element));
|
gst_scheduler_reset (GST_ELEMENT_SCHED (element));
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue