diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-17 21:26:23 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-09-17 21:26:23 -0400 |
| commit | 3509a401c8e3d91854b4fda4e4d7700b0aacefa5 (patch) | |
| tree | 7277688345a6795411e62e2c40c4e2a49d9be6d0 /MediaBrowser.Api/Playback/BaseStreamingService.cs | |
| parent | 6130cb2403662596bba0474494372446d9caa3c3 (diff) | |
add subtitle profiles to dlna profile editor
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
| -rw-r--r-- | MediaBrowser.Api/Playback/BaseStreamingService.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs index f1b84875d..98b4132f1 100644 --- a/MediaBrowser.Api/Playback/BaseStreamingService.cs +++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs @@ -925,11 +925,6 @@ namespace MediaBrowser.Api.Playback /// <exception cref="System.InvalidOperationException">ffmpeg was not found at + MediaEncoder.EncoderPath</exception> protected async Task<TranscodingJob> StartFfMpeg(StreamState state, string outputPath, CancellationTokenSource cancellationTokenSource) { - if (!File.Exists(MediaEncoder.EncoderPath)) - { - throw new InvalidOperationException("ffmpeg was not found at " + MediaEncoder.EncoderPath); - } - Directory.CreateDirectory(Path.GetDirectoryName(outputPath)); await AcquireResources(state, cancellationTokenSource).ConfigureAwait(false); @@ -955,7 +950,6 @@ namespace MediaBrowser.Api.Playback RedirectStandardInput = true, FileName = MediaEncoder.EncoderPath, - WorkingDirectory = Path.GetDirectoryName(MediaEncoder.EncoderPath), Arguments = commandLineArgs, WindowStyle = ProcessWindowStyle.Hidden, |
