Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import video rotation from side_data_list as well #4461

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

puc9
Copy link
Contributor

@puc9 puc9 commented Jan 16, 2024

Imports rotation info for a video out of the first side_data_list structure if available and if rotate tag is not present.

Fixes #4233 but I'm not sure if the fix is robust enough. It works on all my affected files.

One issue left unsolved is that once a file has been added to the DB with the wrong rotation info then it is impossible to fix it short of directly editing the DB.

If I remove the scene without deleting the scene file then the file row in the DB is not removed so the rotation information is not removed either.
Ideally a rescan should reimport the rotation info but I couldn't figure out how to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report] Rotation information is ignored for determining if a video is portrait
1 participant