forked from rails/rails
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rotation detection for HDR videos (rails#50854)
Fixes rails#50853 The video analyzer was relying on the positional reference of the Display Matrix side_data to fetch the rotation value. However, the side_data is not guaranteed to be in the same position. For instance, HDR videos shot on iOS have "DOVI configuration record" side_data in the first position, followed by the "Display Matrix" side data containing the rotation value. This fix removes the positional reference and explicitely searches for the "Display Matrix" side_data to retrieve the rotation angle.
- Loading branch information
1 parent
795d223
commit 9b21841
Showing
3 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.