diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-20 17:48:11 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-08-20 17:48:11 -0400 |
| commit | 6fbeee841f5c5f77e0a309a8fa6736b31b7210ec (patch) | |
| tree | 960e931224353770d9482082bb53e129e7771291 /MediaBrowser.Controller/FFMpeg/FFProbe.cs | |
| parent | 2c56e75ca53fa2962025df28e39fb8a12381f5b8 (diff) | |
Performance update
Diffstat (limited to 'MediaBrowser.Controller/FFMpeg/FFProbe.cs')
| -rw-r--r-- | MediaBrowser.Controller/FFMpeg/FFProbe.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/FFMpeg/FFProbe.cs b/MediaBrowser.Controller/FFMpeg/FFProbe.cs index ea6bda622..f5364821c 100644 --- a/MediaBrowser.Controller/FFMpeg/FFProbe.cs +++ b/MediaBrowser.Controller/FFMpeg/FFProbe.cs @@ -27,7 +27,7 @@ namespace MediaBrowser.Controller.FFMpeg {
}
- await Run(item.Path, outputCachePath);
+ await Run(item.Path, outputCachePath).ConfigureAwait(false);
using (FileStream stream = File.OpenRead(outputCachePath))
{
@@ -49,7 +49,7 @@ namespace MediaBrowser.Controller.FFMpeg {
}
- await Run(item.Path, outputCachePath);
+ await Run(item.Path, outputCachePath).ConfigureAwait(false);
using (FileStream stream = File.OpenRead(outputCachePath))
{
@@ -88,7 +88,7 @@ namespace MediaBrowser.Controller.FFMpeg // If we ever decide to disable the ffmpeg log then you must uncomment the below line.
process.BeginErrorReadLine();
- await process.StandardOutput.BaseStream.CopyToAsync(stream);
+ await process.StandardOutput.BaseStream.CopyToAsync(stream).ConfigureAwait(false);
process.WaitForExit();
|
