ges: Properly position video sources in the scene by default
authorThibault Saunier <tsaunier@igalia.com>
Wed, 19 Feb 2020 21:09:19 +0000 (18:09 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 26 Feb 2020 16:36:30 +0000 (13:36 -0300)
commit53637ad74972f0ca3cee48feeca6003ed49a734c
tree8c79df7d96bea1187a29db0c45948ca0bfb3fe37
parent7b3ac927dcedd21f5fa727ab315dae6b852f6097
ges: Properly position video sources in the scene by default

We try to do our best to have the video frames scaled the best way
to fill most space on the final frames, keeping aspect ratio. The user
can later on rescale or move the sources as usual but it makes the
default behaviour a better and more natural especially now that we
set default restriction caps to the video tracks.

And fix the unit test to take that change into account
ges/ges-video-source.c
ges/ges-video-uri-source.c
ges/gstframepositioner.c
ges/gstframepositioner.h
tests/check/scenarios/check_video_track_restriction_scale.scenario