diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-06-30 00:41:15 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-06-30 00:41:15 -0400 |
| commit | 9a012e458cd12ca7b9630ce7f3074318db9deee8 (patch) | |
| tree | edb4221261062f7016cd7ca463c770c60d95fda8 | |
| parent | 525f7804532bb0d5a1dc38668fbcf511acc2877c (diff) | |
update validation
| -rw-r--r-- | MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs b/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs index 99581332d..6059108c8 100644 --- a/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs +++ b/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs @@ -134,13 +134,12 @@ namespace MediaBrowser.MediaEncoding.Encoder { process.BeginErrorReadLine(); - using (var reader = new StreamReader(process.StandardOutput.BaseStream)) - { - return reader.ReadToEnd(); - } + return process.StandardOutput.ReadToEnd(); } catch { + _logger.Info("Killing process {0} {1}", path, arguments); + // Hate having to do this try { |
