mirror of
https://github.com/browser-use/video-use.git
synced 2026-09-14 20:46:38 +08:00
b5352cf8ad
* fix(render): account for rotation metadata in portrait detection Read display-matrix rotation and legacy rotate tags alongside coded dimensions. Swap dimensions for quarter-turn rotations so ffmpeg's autorotated filter input uses the correct scale axis. * fix(render): trust display rotation side data only Ignore plain rotate tags that do not guarantee ffmpeg autorotation and assert that the ffprobe query continues to request display-matrix rotation. --------- Co-authored-by: Anton Sidorov aka anticodeguy <a@anticodeguy.com>