mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 21:16:24 +00:00
ges: fix chaining up GObject's constructed virtual method
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8416>
This commit is contained in:
parent
e9f488a2c5
commit
413ba205e1
3 changed files with 5 additions and 0 deletions
|
@ -476,6 +476,8 @@ ges_smart_mixer_constructed (GObject * obj)
|
|||
GESSmartMixer *self = GES_SMART_MIXER (obj);
|
||||
gchar *cname = g_strdup_printf ("%s-compositor", GST_OBJECT_NAME (self));
|
||||
|
||||
G_OBJECT_CLASS (ges_smart_mixer_parent_class)->constructed (obj);
|
||||
|
||||
self->mixer =
|
||||
gst_element_factory_create (ges_get_compositor_factory (), cname);
|
||||
self->ABI.abi.has_operator =
|
||||
|
|
|
@ -627,6 +627,8 @@ ges_track_constructed (GObject * object)
|
|||
gchar *componame = NULL;
|
||||
gchar *capsfiltername = NULL;
|
||||
|
||||
G_OBJECT_CLASS (ges_track_parent_class)->constructed (object);
|
||||
|
||||
if (self->type == GES_TRACK_TYPE_VIDEO) {
|
||||
componame =
|
||||
g_strdup_printf ("video_%s", GST_OBJECT_NAME (self->priv->composition));
|
||||
|
|
|
@ -770,6 +770,7 @@ nle_object_constructed (GObject * object)
|
|||
{
|
||||
NleObject *nleobject = (NleObject *) object;
|
||||
|
||||
G_OBJECT_CLASS (parent_class)->constructed (object);
|
||||
_update_stop (nleobject);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue