transformation: Place videos ourself on the final scene

Desktop / GNOME / PiTiVi - Thibault Saunier [gnome.org] - 9 August 2016 08:30 UTC

- Make sure to keep video aspect ratio when rescaling
- Properly compute video position in the scene so that it is centered and 'black bars' are present on the side (but those are not taken into account by the transformation box)

Fixes T7371

285c4ff transformation: Place videos ourself on the final scene
pitivi/clipproperties.py | 9 +----
pitivi/project.py | 3 +-
pitivi/timeline/elements.py | 82 +++++++++++++++++++++++++++++++++++++++
tests/test_timeline_elements.py | 56 ++++++++++++++++++++++++++
tests/test_timeline_timeline.py | 3 +-
5 files changed, 143 insertions(+), 10 deletions(-)

Upstream: git.gnome.org


  • Share