diff --git a/subprojects/gst-editing-services/tools/ges-launcher.c b/subprojects/gst-editing-services/tools/ges-launcher.c index 34ce207f63..4b8368d974 100644 --- a/subprojects/gst-editing-services/tools/ges-launcher.c +++ b/subprojects/gst-editing-services/tools/ges-launcher.c @@ -312,9 +312,12 @@ static gboolean _parse_track_type (const gchar * option_name, const gchar * value, GESLauncherParsedOptions * opts, GError ** error) { - if (!get_flags_from_string (GES_TYPE_TRACK_TYPE, value, &opts->track_types)) + guint flags = 0; + + if (!get_flags_from_string (GES_TYPE_TRACK_TYPE, value, &flags)) return FALSE; + opts->track_types = (GESTrackType) flags; return TRUE; }