fix build

This commit is contained in:
Nyanmisaka 2020-07-27 14:11:05 +08:00 committed by GitHub
parent df6b303da7
commit 17527d68df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -530,6 +530,7 @@ namespace MediaBrowser.Controller.MediaEncoding
.Append(' ')
.Append("-filter_hw_device ocl ");
}
}
if (state.IsVideoRequest
&& string.Equals(encodingOptions.HardwareAccelerationType, "videotoolbox", StringComparison.OrdinalIgnoreCase))