mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
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:
parent
90218243d2
commit
8cf17e5d0d
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue