|
|
|
@ -199,7 +199,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
|
|
|
|
|
|
|
|
await _ffProbeResourcePool.WaitAsync(cancellationToken).ConfigureAwait(false);
|
|
|
|
|
|
|
|
|
|
using (var processWrapper = new ProcessWrapper(process, this))
|
|
|
|
|
using (var processWrapper = new ProcessWrapper(process, this, _logger))
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
@ -308,7 +308,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
|
|
|
|
|
|
|
|
_logger.Debug("{0} {1}", process.StartInfo.FileName, process.StartInfo.Arguments);
|
|
|
|
|
|
|
|
|
|
using (var processWrapper = new ProcessWrapper(process, this))
|
|
|
|
|
using (var processWrapper = new ProcessWrapper(process, this, _logger))
|
|
|
|
|
{
|
|
|
|
|
StartProcess(processWrapper);
|
|
|
|
|
|
|
|
|
@ -492,7 +492,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
|
|
|
|
|
|
|
|
await resourcePool.WaitAsync(cancellationToken).ConfigureAwait(false);
|
|
|
|
|
|
|
|
|
|
using (var processWrapper = new ProcessWrapper(process, this))
|
|
|
|
|
using (var processWrapper = new ProcessWrapper(process, this, _logger))
|
|
|
|
|
{
|
|
|
|
|
bool ranToCompletion;
|
|
|
|
|
|
|
|
|
@ -607,7 +607,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
|
|
|
|
|
|
|
|
bool ranToCompletion = false;
|
|
|
|
|
|
|
|
|
|
using (var processWrapper = new ProcessWrapper(process, this))
|
|
|
|
|
using (var processWrapper = new ProcessWrapper(process, this, _logger))
|
|
|
|
|
{
|
|
|
|
|
try
|
|
|
|
|
{
|
|
|
|
|