ges/clip: silence some maybe-unitiailized warnings

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7875>
This commit is contained in:
Matthew Waters 2024-11-13 17:01:03 +11:00
parent a566dfd339
commit c0f4a855cc

View file

@ -2208,14 +2208,15 @@ static GESContainer *
_group (GList * containers) _group (GList * containers)
{ {
GESClip *first_clip = NULL; GESClip *first_clip = NULL;
GESTimeline *timeline; GESTimeline *timeline = NULL;
GESTrackType supported_formats; GESTrackType supported_formats;
GESLayer *layer; GESLayer *layer = NULL;
GList *tmp, *tmp2, *tmpclip; GList *tmp, *tmp2, *tmpclip;
GstClockTime start, inpoint, duration; GstClockTime start = GST_CLOCK_TIME_NONE, inpoint = GST_CLOCK_TIME_NONE;
GstClockTime duration = GST_CLOCK_TIME_NONE;
GESTimelineElement *element; GESTimelineElement *element;
GESAsset *asset; GESAsset *asset = NULL;
GESContainer *ret = NULL; GESContainer *ret = NULL;
if (!containers) if (!containers)