mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
gessrc: Remove timeline from self when disposing
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4882>
This commit is contained in:
parent
56e636b60c
commit
50393a809d
1 changed files with 3 additions and 1 deletions
|
@ -61,8 +61,10 @@ ges_base_bin_dispose (GObject * object)
|
||||||
GESBaseBin *self = GES_BASE_BIN (object);
|
GESBaseBin *self = GES_BASE_BIN (object);
|
||||||
GESBaseBinPrivate *priv = ges_base_bin_get_instance_private (self);
|
GESBaseBinPrivate *priv = ges_base_bin_get_instance_private (self);
|
||||||
|
|
||||||
if (priv->timeline)
|
if (priv->timeline) {
|
||||||
|
gst_bin_remove (GST_BIN (self), GST_ELEMENT (priv->timeline));
|
||||||
gst_clear_object (&priv->timeline);
|
gst_clear_object (&priv->timeline);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in a new issue