mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
allow borders on still image videoscale
This commit is contained in:
parent
c9eba54506
commit
9c82a2841c
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,8 @@ ges_track_image_source_create_element (GESTrackSource * object)
|
|||
freeze = gst_element_factory_make ("imagefreeze", NULL);
|
||||
iconv = gst_element_factory_make ("ffmpegcolorspace", NULL);
|
||||
|
||||
g_object_set (scale, "add-borders", TRUE, NULL);
|
||||
|
||||
gst_bin_add_many (GST_BIN (bin), source, scale, freeze, iconv, NULL);
|
||||
|
||||
gst_element_link_pads_full (scale, "src", iconv, "sink",
|
||||
|
|
Loading…
Reference in a new issue