3.0.5346.38509

This commit is contained in:
Luke Pulverenti
2014-08-21 22:24:38 -04:00
parent 88fce3670a
commit ca66390e24
15 changed files with 512 additions and 94 deletions

View File

@@ -69,22 +69,6 @@ namespace MediaBrowser.MediaEncoding.Encoder
get { return FFMpegPath; }
}
/// <summary>
/// The _semaphoreLocks
/// </summary>
private readonly ConcurrentDictionary<string, SemaphoreSlim> _semaphoreLocks =
new ConcurrentDictionary<string, SemaphoreSlim>();
/// <summary>
/// Gets the lock.
/// </summary>
/// <param name="filename">The filename.</param>
/// <returns>System.Object.</returns>
private SemaphoreSlim GetLock(string filename)
{
return _semaphoreLocks.GetOrAdd(filename, key => new SemaphoreSlim(1, 1));
}
/// <summary>
/// Gets the media info.
/// </summary>