ges-command-line-formatter: Handle transitions

Avoids getting a noisy g_warning

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6683>
This commit is contained in:
Edward Hervey 2024-04-18 11:29:21 +02:00 committed by GStreamer Marge Bot
parent 37b60e5354
commit a032c1e1bd

View file

@ -1135,6 +1135,9 @@ ges_command_line_formatter_get_timeline_uri (GESTimeline * timeline)
_sanitize_argument (ges_uri_clip_get_uri (GES_URI_CLIP (clip)), res);
option = &options[CLIP];
} else if (GES_IS_TRANSITION_CLIP (clip)) {
g_string_append (res, " +transition");
option = &options[CLIP];
} else {
g_warning ("Unhandled clip type: %s", G_OBJECT_TYPE_NAME (clip));
continue;