mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #12692] [MERGED] Fix libx264/libx265 auto preset #13331
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/12692
Author: @gnattu
Created: 9/23/2024
Status: ✅ Merged
Merged: 9/23/2024
Merged by: @crobibero
Base:
master← Head:fix-sw-auto-preset📝 Commits (1)
108d5afFix libx264/libx265 auto preset📊 Changes
1 file changed (+7 additions, -1 deletions)
View changed files
📝
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs(+7 -1)📄 Description
We need to normalize auto to veryfast instead of convert it so string directly.
autois not a valid preset.In my opinion just using the enum
ToStringfailed for all our use cases now and all code path requires extra normalization. I plan to add an extension to have our ownToStringmethod to turn this into CLI parameters. But that would break the ABI so not for now.Changes
Issues
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.