rails/activestorage/lib
Anup Narkhede 776626ff98
Fix rotation detection for HDR videos (#50854)
Fixes https://github.com/rails/rails/issues/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.
2024-01-23 11:28:11 -08:00
..
active_storage Fix rotation detection for HDR videos (#50854) 2024-01-23 11:28:11 -08:00
tasks Invoke namespaced task when necessary 2021-05-26 13:44:42 +01:00
active_storage.rb Use relative includes of README's in documentation [ci-skip] 2024-01-18 10:39:15 +01:00