mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 11:34:57 +02:00
Apply suggestions from code review
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
This commit is contained in:
parent
fcb070abf7
commit
a6bc191607
1 changed files with 1 additions and 2 deletions
|
@ -596,8 +596,7 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
&& string.Equals(encodingOptions.HardwareAccelerationType, "nvenc", StringComparison.OrdinalIgnoreCase)
|
&& string.Equals(encodingOptions.HardwareAccelerationType, "nvenc", StringComparison.OrdinalIgnoreCase)
|
||||||
&& isNvdecDecoder)
|
&& isNvdecDecoder)
|
||||||
{
|
{
|
||||||
arg.Append("-hwaccel_output_format cuda ")
|
arg.Append("-hwaccel_output_format cuda -autorotate 0 ");
|
||||||
.Append("-autorotate 0 ");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (state.IsVideoRequest
|
if (state.IsVideoRequest
|
||||||
|
|
Loading…
Reference in a new issue