mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-09 15:46:13 +00:00
fix incorrect level on encoding command line
This commit is contained in:
1 parent
dd715fbcc7
commit
4fa90701fd
2 files changed
+8
-3
No files matched your search
@@ -719,8 +719,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
}
|
||||
}
|
||||
// nvenc doesn't decode with param -level set ?!
|
||||
if (string.Equals(videoEncoder, "h264_nvenc", StringComparison.OrdinalIgnoreCase)){
|
||||
param += "";
|
||||
else if (string.Equals(videoEncoder, "h264_nvenc", StringComparison.OrdinalIgnoreCase)){
|
||||
//param += "";
|
||||
}
|
||||
else if (!string.Equals(videoEncoder, "h264_omx", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
@@ -1606,6 +1606,11 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
}
|
||||
}
|
||||
|
||||
if (state.MediaSource.RequiresLooping)
|
||||
{
|
||||
inputModifier += " -stream_loop -1";
|
||||
}
|
||||
|
||||
return inputModifier;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user