mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-22 16:54:46 +03:00
reduce image indicator sizes
This commit is contained in:
@@ -677,9 +677,12 @@ namespace MediaBrowser.Api.Playback
|
||||
/// <returns>Task.</returns>
|
||||
protected async Task StartFfMpeg(StreamState state, string outputPath)
|
||||
{
|
||||
var parentPath = Path.GetDirectoryName(outputPath);
|
||||
if (!File.Exists(MediaEncoder.EncoderPath))
|
||||
{
|
||||
throw new InvalidOperationException("ffmpeg was not found at " + MediaEncoder.EncoderPath);
|
||||
}
|
||||
|
||||
Directory.CreateDirectory(parentPath);
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(outputPath));
|
||||
|
||||
if (state.IsInputVideo && state.VideoType == VideoType.Iso && state.IsoType.HasValue && IsoManager.CanMount(state.MediaPath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user