From 8cf17e5d0db64603c25d1deaef6394af7755cf56 Mon Sep 17 00:00:00 2001 From: Thibault Saunier Date: Tue, 5 Dec 2023 09:08:10 -0300 Subject: [PATCH] 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: --- subprojects/gst-editing-services/plugins/ges/gesdemux.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/subprojects/gst-editing-services/plugins/ges/gesdemux.c b/subprojects/gst-editing-services/plugins/ges/gesdemux.c index 5972436c46..f865d12cad 100644 --- a/subprojects/gst-editing-services/plugins/ges/gesdemux.c +++ b/subprojects/gst-editing-services/plugins/ges/gesdemux.c @@ -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); }