mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-28 05:58:21 +00:00
Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
@@ -596,8 +596,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
&& string.Equals(encodingOptions.HardwareAccelerationType, "nvenc", StringComparison.OrdinalIgnoreCase)
|
||||
&& isNvdecDecoder)
|
||||
{
|
||||
arg.Append("-hwaccel_output_format cuda ")
|
||||
.Append("-autorotate 0 ");
|
||||
arg.Append("-hwaccel_output_format cuda -autorotate 0 ");
|
||||
}
|
||||
|
||||
if (state.IsVideoRequest
|
||||
|
||||
Reference in New Issue
Block a user