mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-02 13:15:25 -04:00
Update MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
This commit is contained in:
parent
95f344722c
commit
a353081ea3
@ -193,12 +193,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Don't save an invalid path
|
|
||||||
if (!File.Exists(path))
|
|
||||||
{
|
|
||||||
throw new FileNotFoundException();
|
|
||||||
}
|
|
||||||
|
|
||||||
// Write the new ffmpeg path to the xml as <EncoderAppPath>
|
// Write the new ffmpeg path to the xml as <EncoderAppPath>
|
||||||
// This ensures its not lost on next startup
|
// This ensures its not lost on next startup
|
||||||
config.EncoderAppPath = newPath;
|
config.EncoderAppPath = newPath;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user