Ver Fonte

Update MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs

Claus Vium há 3 anos atrás
pai
commit
a353081ea3
1 ficheiros alterados com 0 adições e 6 exclusões
  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>
             // 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;