From 2ee51bf6f63afe8f8891cda39d61ee08cdec2b2f Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Fri, 19 Jul 2024 21:34:31 +0530 Subject: [PATCH] glvideomixer: Fix critical when setting start-time-selection It caused a critical, but did not affect functionality because the GValue was passed as-is to the glvideomixerelement which actually does something with the property. Part-of: --- subprojects/gst-plugins-base/ext/gl/gstglmixerbin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-base/ext/gl/gstglmixerbin.c b/subprojects/gst-plugins-base/ext/gl/gstglmixerbin.c index b3df90dea2..14e3c29b86 100644 --- a/subprojects/gst-plugins-base/ext/gl/gstglmixerbin.c +++ b/subprojects/gst-plugins-base/ext/gl/gstglmixerbin.c @@ -534,7 +534,7 @@ gst_gl_mixer_bin_set_property (GObject * object, g_object_set_property (G_OBJECT (self->mixer), pspec->name, value); break; case PROP_START_TIME_SELECTION: - self->start_time_selection = g_value_get_uint (value); + self->start_time_selection = g_value_get_enum (value); if (self->mixer) g_object_set_property (G_OBJECT (self->mixer), pspec->name, value); break;