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: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7204>
This commit is contained in:
Nirbheek Chauhan 2024-07-19 21:34:31 +05:30 committed by GStreamer Marge Bot
parent 35271a2ef3
commit 2ee51bf6f6

View file

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