Files
Anton b5352cf8ad fix(render): account for rotation metadata in portrait detection (#137)
* 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>
2026-08-30 01:56:01 -07:00
..