mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
videoaggregator: fix up the parent chaining for dispose and finalize
This commit is contained in:
parent
078c789ffa
commit
5d1efa193f
1 changed files with 3 additions and 1 deletions
|
@ -142,7 +142,7 @@ gst_videoaggregator_pad_finalize (GObject * o)
|
|||
videoconvert_convert_free (vaggpad->priv->convert);
|
||||
vaggpad->priv->convert = NULL;
|
||||
|
||||
G_OBJECT_CLASS (gst_videoaggregator_pad_parent_class)->dispose (o);
|
||||
G_OBJECT_CLASS (gst_videoaggregator_pad_parent_class)->finalize (o);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -1854,6 +1854,8 @@ gst_videoaggregator_dispose (GObject * o)
|
|||
GstVideoAggregator *vagg = GST_VIDEO_AGGREGATOR (o);
|
||||
|
||||
gst_caps_replace (&vagg->priv->current_caps, NULL);
|
||||
|
||||
G_OBJECT_CLASS (gst_videoaggregator_parent_class)->dispose (o);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue