From 6016cdccf1c5e64cda57c6d494236cd79b593463 Mon Sep 17 00:00:00 2001 From: Alexander Slobodeniuk Date: Thu, 6 Feb 2025 11:29:34 +0100 Subject: [PATCH] gl: fix chaining up GObject's constructed virtual method Part-of: --- subprojects/gst-plugins-base/ext/gl/gstglvideoflip.c | 2 ++ subprojects/gst-plugins-base/ext/gl/gstglvideomixer.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/subprojects/gst-plugins-base/ext/gl/gstglvideoflip.c b/subprojects/gst-plugins-base/ext/gl/gstglvideoflip.c index 5bdba79c7a..799ada92e6 100644 --- a/subprojects/gst-plugins-base/ext/gl/gstglvideoflip.c +++ b/subprojects/gst-plugins-base/ext/gl/gstglvideoflip.c @@ -139,6 +139,8 @@ gst_gl_video_flip_constructed (GObject * object) { GstGLVideoFlip *self = GST_GL_VIDEO_FLIP (object); + G_OBJECT_CLASS (parent_class)->constructed (object); + if (self->method == (GstVideoOrientationMethod) DEFAULT_METHOD) { gst_gl_video_flip_set_method (self, (GstVideoOrientationMethod) DEFAULT_METHOD, FALSE); diff --git a/subprojects/gst-plugins-base/ext/gl/gstglvideomixer.c b/subprojects/gst-plugins-base/ext/gl/gstglvideomixer.c index 1f1eb5ee34..b3f6b9bf68 100644 --- a/subprojects/gst-plugins-base/ext/gl/gstglvideomixer.c +++ b/subprojects/gst-plugins-base/ext/gl/gstglvideomixer.c @@ -571,6 +571,8 @@ gst_gl_video_mixer_bin_constructed (GObject * self) { GstGLMixerBin *mix_bin = GST_GL_MIXER_BIN (self); + G_OBJECT_CLASS (gst_gl_video_mixer_bin_parent_class)->constructed (self); + gst_gl_mixer_bin_finish_init_with_element (mix_bin, g_object_new (GST_TYPE_GL_VIDEO_MIXER, "force-live", mix_bin->force_live,