mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
pipeline: Ensure timeline state to be NULL on dispose
The GESTimeline's state might not be synced with parent
This commit is contained in:
parent
fd10d69bc5
commit
3b0da0611c
1 changed files with 1 additions and 0 deletions
|
@ -278,6 +278,7 @@ ges_pipeline_dispose (GObject * object)
|
|||
_timeline_track_added_cb, self);
|
||||
g_signal_handlers_disconnect_by_func (self->priv->timeline,
|
||||
_timeline_track_removed_cb, self);
|
||||
gst_element_set_state (GST_ELEMENT (self->priv->timeline), GST_STATE_NULL);
|
||||
}
|
||||
|
||||
G_OBJECT_CLASS (ges_pipeline_parent_class)->dispose (object);
|
||||
|
|
Loading…
Reference in a new issue