gl: fix chaining up GObject's constructed virtual method

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8416>
This commit is contained in:
Alexander Slobodeniuk 2025-02-06 11:29:34 +01:00 committed by GStreamer Marge Bot
parent 610a6f3aaf
commit 6016cdccf1
2 changed files with 4 additions and 0 deletions
subprojects/gst-plugins-base/ext/gl

@ -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);

@ -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,