mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
ges: launcher: fix compiler warning with MSVC 2022
tools/ges-launcher.c(315): warning C4133: 'function': incompatible types - from 'GESTrackType *' to 'guint *' Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5312>
This commit is contained in:
parent
1eaa671feb
commit
4a857fbf87
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue