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

fix(server): video thumbnail generation failing when using qsv #9808

Merged
merged 1 commit into from
May 28, 2024

Conversation

mertalev
Copy link
Contributor

Description

The QSV scaling filter disallows setting values below -1, so there's a condition to set the multiplier to -1 when it's enabled. However, the thumbnail config uses the same method but is not currently accelerated, so it must still use -2. This PR moves the QSV special case to its config to avoid side effects.

Fixes #9444

Copy link

Deploying immich with  Cloudflare Pages  Cloudflare Pages

Latest commit: ac73189
Status: ✅  Deploy successful!
Preview URL: https://b37a67de.immich.pages.dev
Branch Preview URL: https://fix-server-thumbnail-generat.immich.pages.dev

View logs

@zackpollard zackpollard merged commit fbc3790 into main May 28, 2024
24 of 25 checks passed
@zackpollard zackpollard deleted the fix/server-thumbnail-generation-qsv branch May 28, 2024 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generating Thumbnails fails for certain Videos
3 participants