Merge pull request #1932 from softworkz/ReduceWarnings

Reduced compiler warnings. No functional changes.
This commit is contained in:
Luke
2016-08-05 20:37:21 -04:00
committed by GitHub
20 changed files with 24 additions and 24 deletions

View File

@@ -1093,7 +1093,7 @@ namespace MediaBrowser.Api.Playback
//process.BeginOutputReadLine();
// Important - don't await the log task or we won't be able to kill ffmpeg when the user stops playback
Task.Run(() => StartStreamingLog(transcodingJob, state, process.StandardError.BaseStream, state.LogFileStream));
var task = Task.Run(() => StartStreamingLog(transcodingJob, state, process.StandardError.BaseStream, state.LogFileStream));
// Wait for the file to exist before proceeeding
while (!FileSystem.FileExists(state.WaitForPath ?? outputPath) && !transcodingJob.HasExited)