mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 21:51:09 +00:00
composition: No need to reset the composition when going to PAUSED or NULL
Co-Authored by: Mathieu Duponchelle <mathieu.duponchelle@opencreed.com>
This commit is contained in:
parent
08da7d6d2e
commit
4c7731ede3
1 changed files with 0 additions and 3 deletions
|
@ -2123,8 +2123,6 @@ gnl_composition_change_state (GstElement * element, GstStateChange transition)
|
||||||
_start_task (comp);
|
_start_task (comp);
|
||||||
break;
|
break;
|
||||||
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
case GST_STATE_CHANGE_READY_TO_PAUSED:
|
||||||
gnl_composition_reset (comp);
|
|
||||||
|
|
||||||
/* state-lock all elements */
|
/* state-lock all elements */
|
||||||
GST_DEBUG_OBJECT (comp,
|
GST_DEBUG_OBJECT (comp,
|
||||||
"Setting all children to READY and locking their state");
|
"Setting all children to READY and locking their state");
|
||||||
|
@ -2139,7 +2137,6 @@ gnl_composition_change_state (GstElement * element, GstStateChange transition)
|
||||||
case GST_STATE_CHANGE_READY_TO_NULL:
|
case GST_STATE_CHANGE_READY_TO_NULL:
|
||||||
_stop_task (comp);
|
_stop_task (comp);
|
||||||
_set_all_children_state (comp, GST_STATE_NULL);
|
_set_all_children_state (comp, GST_STATE_NULL);
|
||||||
gnl_composition_reset (comp);
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue