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

Always mark videos as frequently changing #9447

Merged
merged 5 commits into from
Mar 18, 2017

Conversation

unknownbrackets
Copy link
Collaborator

This fixes a bug where minihash fails weren't marking the frequently changing flag since #8720.

It goes a step farther, and always marks videos as frequently changing, to prevent the first frame as well, if possible. Better to consistently scale/not scale all frames (even if the video stays the same for a bunch of frames) for videos, IMHO.

-[Unknown]

Makes it more readable.  No functional impact.
Previously, by mistake, only full hash fails could flag a frequently
changing texture - minihash checks skipped this, causing scaling
performance issues.

Fixes hrydgard#9125.
This prevents scaling of the first frame in some cases, when later frames
would also not be scaled.  Improves performance and reduces frame
mismatch.
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.

2 participants