update roku api

This commit is contained in:
Luke Pulverenti
2015-02-01 14:01:21 -05:00
parent c60018fb09
commit 5bb75227db
5 changed files with 10 additions and 191 deletions

View File

@@ -36,6 +36,11 @@ namespace MediaBrowser.MediaEncoding.Encoder
/// <value>The json serializer.</value>
private readonly IJsonSerializer _jsonSerializer;
/// <summary>
/// The _thumbnail resource pool
/// </summary>
private readonly SemaphoreSlim _thumbnailResourcePool = new SemaphoreSlim(1, 1);
/// <summary>
/// The video image resource pool
/// </summary>
@@ -458,7 +463,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
int? maxWidth,
CancellationToken cancellationToken)
{
var resourcePool = _videoImageResourcePool;
var resourcePool = _thumbnailResourcePool;
var inputArgument = GetInputArgument(inputFiles, protocol);