Files
ente/mobile/lib
Ashil b8cb480d23 [mob][photos] Fix bug in parsing rotation metadata from video using FFProbe (#2595)
### Description

Parse width and height of video correctly using FFProbe by 
- Considering both `coded_height` & `height` + `coded_width` + `width`
keys to parse height and width of video. Came across two videos where
`coded_width` and `coded_height` were both `0` where as `height` and
`width` had the correct values.
- Parse `rotation` from `side_data_list` and consider `rotation` for
accurate (i.e, not flipped) dimensions.

Have made sure the correct height and width of the video is shown on the
video's file info. Sometimes there could be a slight difference from
what a user would expect, if the `coded_side` is different from `side`
(`side` is `width` or `height`). Will be fixing this in future.
Ref:
https://superuser.com/questions/1523944/whats-the-difference-between-coded-width-and-width-in-ffprobe
2024-08-06 11:25:13 +05:30
..
2024-06-22 18:38:10 +05:30
2024-08-01 19:31:21 +05:30
2024-08-05 18:24:29 +05:30
2024-07-23 14:05:57 +05:30