update validation

This commit is contained in:
Luke Pulverenti 2016-06-30 00:41:15 -04:00
parent 525f780453
commit 9a012e458c

View file

@ -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
{