Explorar o código

Update MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

Claus Vium %!s(int64=3) %!d(string=hai) anos
pai
achega
a353081ea3
Modificáronse 1 ficheiros con 0 adicións e 6 borrados
  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;