Fix noautorotate cli for videotoolbox (#12530)

This commit is contained in:
gnattu
2024-08-29 02:37:19 +08:00
committed by GitHub
parent 48e7c6c904
commit 639d75bd83

View File

@@ -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