浏览代码

Update MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

Claus Vium 3 年之前
父节点
当前提交
a353081ea3
共有 1 个文件被更改,包括 0 次插入6 次删除
  1. 0 6
      MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

+ 0 - 6
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;