mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-22 17:51:16 +00:00
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:
parent
35271a2ef3
commit
2ee51bf6f6
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ gst_gl_mixer_bin_set_property (GObject * object,
|
||||||
g_object_set_property (G_OBJECT (self->mixer), pspec->name, value);
|
g_object_set_property (G_OBJECT (self->mixer), pspec->name, value);
|
||||||
break;
|
break;
|
||||||
case PROP_START_TIME_SELECTION:
|
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)
|
if (self->mixer)
|
||||||
g_object_set_property (G_OBJECT (self->mixer), pspec->name, value);
|
g_object_set_property (G_OBJECT (self->mixer), pspec->name, value);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue