ges: Add scaler in the 'gap filling' clip on too short nested timelines

So we can respect user request on source that can scale

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5735>
This commit is contained in:
Thibault Saunier 2023-12-05 09:08:10 -03:00 committed by GStreamer Marge Bot
parent 90218243d2
commit 8cf17e5d0d

View file

@ -381,8 +381,9 @@ ges_demux_adapt_timeline_duration (GESDemux * self, GESTimeline * timeline)
if (caps) {
gchar *caps_str = gst_caps_to_string (caps);
effect_str = effect_str_full =
g_strdup_printf ("capsfilter caps=\"%s\" ! %s", caps_str,
effect_str);
g_strdup_printf
("videoconvertscale ! capsfilter caps=\"%s\" ! %s",
caps_str, effect_str);
g_free (caps_str);
gst_caps_unref (caps);
}