Skip to content

Rotate thumbnail as specified in stream metadata

If the metadata contains a "rotate" entry, it will specify an expected rotation angle in degrees. Extract the angle from the stream and, if it is present, use it to rotate the thumbnailed image.

Tested on a range of video files captured with device in various rotations, verified that the orientation of the thumbnail is correct.

Merge request reports