aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding
diff options
context:
space:
mode:
authorClaus Vium <cvium@users.noreply.github.com>2021-09-21 22:54:11 +0200
committerGitHub <noreply@github.com>2021-09-21 22:54:11 +0200
commita353081ea33b3f635e9472371f228bab63669347 (patch)
treecef6076cc6334a7b646e58ff040d5900de900349 /MediaBrowser.MediaEncoding
parent95f344722ce34dde75408bce4138fe47b7eef6d0 (diff)
Update MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
Diffstat (limited to 'MediaBrowser.MediaEncoding')
-rw-r--r--MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
index 057293b66..22ed9a8eb 100644
--- a/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
+++ b/MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
@@ -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>
// This ensures its not lost on next startup
config.EncoderAppPath = newPath;