mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-26 16:45:09 +00:00
Fix AV1 NVENC encoder profile option (#10199)
This commit is contained in:
1 parent
dca72cc275
commit
3c2b1b5e97
1 file changed
+3
-1
@@ -1916,7 +1916,9 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
|
||||
if (!string.IsNullOrEmpty(profile))
|
||||
{
|
||||
if (!string.Equals(videoEncoder, "h264_v4l2m2m", StringComparison.OrdinalIgnoreCase))
|
||||
// Currently there's no profile option in av1_nvenc encoder
|
||||
if (!(string.Equals(videoEncoder, "av1_nvenc", StringComparison.OrdinalIgnoreCase)
|
||||
|| string.Equals(videoEncoder, "h264_v4l2m2m", StringComparison.OrdinalIgnoreCase)))
|
||||
{
|
||||
param += " -profile:v:0 " + profile;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user