Преглед на файлове

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;