mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-03 22:40:09 +00:00
update validation
This commit is contained in:
parent
525f780453
commit
9a012e458c
1 changed files with 3 additions and 4 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue