Skip to content

The Free Software Media System - Server Backend & API

update validation

Luke Pulverenti9a012e458cd1
diff --git a/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs b/MediaBrowser.MediaEncoding/Encoder/EncoderValidator.cs
index 99581332de..6059108c81 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
{