mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-17 06:23:03 +03:00
update validation
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user