aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/Playback/BaseStreamingService.cs
diff options
context:
space:
mode:
authorTim Hobbs <jesus.tesh@gmail.com>2014-03-11 00:54:31 +0000
committerTim Hobbs <jesus.tesh@gmail.com>2014-03-11 00:54:31 +0000
commitdd4a1ff4b50f58c27af223202454f80d45de4af1 (patch)
tree13bbd8e81feeb8fa8902dcaa351d431ed703a0ed /MediaBrowser.Api/Playback/BaseStreamingService.cs
parentd50455e0465240b6b050a95703856c820c2769fe (diff)
Added compiler warning overrides
Diffstat (limited to 'MediaBrowser.Api/Playback/BaseStreamingService.cs')
-rw-r--r--MediaBrowser.Api/Playback/BaseStreamingService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Api/Playback/BaseStreamingService.cs b/MediaBrowser.Api/Playback/BaseStreamingService.cs
index b97afc217..926dfe955 100644
--- a/MediaBrowser.Api/Playback/BaseStreamingService.cs
+++ b/MediaBrowser.Api/Playback/BaseStreamingService.cs
@@ -929,8 +929,10 @@ namespace MediaBrowser.Api.Playback
// MUST read both stdout and stderr asynchronously or a deadlock may occurr
process.BeginOutputReadLine();
+#pragma warning disable 4014
// Important - don't await the log task or we won't be able to kill ffmpeg when the user stops playback
process.StandardError.BaseStream.CopyToAsync(state.LogFileStream);
+#pragma warning restore 4014
// Wait for the file to exist before proceeeding
while (!File.Exists(outputPath))