diff options
| author | gnattu <gnattu@users.noreply.github.com> | 2024-08-29 02:37:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-28 12:37:19 -0600 |
| commit | 639d75bd8300ee9538c5a8142cb86b7e89305d9a (patch) | |
| tree | f6781fc6c3c7bfae33cd3684c357b23d4c35dd82 /MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | |
| parent | 48e7c6c904b946ef640414f6f673d7af1b787afc (diff) | |
Fix noautorotate cli for videotoolbox (#12530)
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs index 64864bad0..089749449 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs @@ -6043,7 +6043,7 @@ namespace MediaBrowser.Controller.MediaEncoding && isVideotoolboxSupported && isCodecAvailable) { - return " -hwaccel videotoolbox" + (outputHwSurface ? " -hwaccel_output_format videotoolbox_vld" : string.Empty) + "-noautorotate" + stripRotationDataArgs; + return " -hwaccel videotoolbox" + (outputHwSurface ? " -hwaccel_output_format videotoolbox_vld" : string.Empty) + " -noautorotate" + stripRotationDataArgs; } // Rockchip rkmpp |
