Skip to content

Feat: Zoom#2456

Merged
fire-light42 merged 3 commits intomasterfrom
video-zoom
Jan 28, 2026
Merged

Feat: Zoom#2456
fire-light42 merged 3 commits intomasterfrom
video-zoom

Conversation

@fire-light42
Copy link
Collaborator

This is an updated patch of #1907 as zoom is a very cool feature. The main difference is how I did the transform as the old pull request did not feel right #1907 (comment). The main reason it felt incorrect was that the zooming was done around the center of the screen, instead of the center of the pinch. I honestly did not want to reinvent the postScale function using pure math, so I just used the matrix operations and then extracted translation+scale.

I also fixed some issues with black borders #1907 (comment) and added an outline like youtube.

It should work fine on all horizontal videos, but I have noticed some weird behavior on vertical videos. It is also a bit wonky when zooming in when in the resize option "Zoom" as it instantly zooms out.

@fire-light42 fire-light42 merged commit af1e075 into master Jan 28, 2026
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants