-
Notifications
You must be signed in to change notification settings - Fork 507
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add Video Panning Option #150
base: master
Are you sure you want to change the base?
Conversation
Crosshair drawing is broken when videoAr != displayAr
I'm not sure about that scale_factor, i don't know how to test that
with a "good enough" implementation
The preview window would change in width, when the video was being zoomed. Possibly, because on windows, zooming only calls UpdateSize once, but on linux, it gets called multiple, like 8 times. Rounding fixed it.
I'm not entirely sure, that this is how it's supposed to be added. This requires editing the already existing hotkey.json file (shows path in log, if it exists). Should this also be added to hotkey.cpp?
This reverts commit 3d525d9. The default hotkey is not required. People can just add a custom one from the hotkey settings if they want this.
Fantastic feature! Thank you for adding it! Hoping this gets merged soon. |
This works great for me, although I noticed that the |
Also, I saw now that this change breaks Aegisub's aspect ratio forcing. I fixed it here on my fork, but as it is, this PR would just make the aspect ratio options do nothing at all. |
Ristellise/AegisubDC has closed its doors, and with such one of the most important features, the option to zoom in and do stuff. There is also currently no way to do this on Linux/MacOS, so this should make it available.
Patched from Aegisub#207 with snippets from DC.
Tested on Arch Linux, but should work wherever.
video_panning_example.mp4