create separate media encoding project

This commit is contained in:
Luke Pulverenti
2014-03-27 15:30:21 -04:00
parent ac81b4e3ca
commit 39ea2adbc5
30 changed files with 276 additions and 183 deletions

View File

@@ -178,7 +178,7 @@ namespace MediaBrowser.Server.Implementations.MediaEncoder
{
Directory.CreateDirectory(Path.GetDirectoryName(path));
using (var stream = await _encoder.ExtractImage(inputPath, type, false, video.Video3DFormat, time, cancellationToken).ConfigureAwait(false))
using (var stream = await _encoder.ExtractVideoImage(inputPath, type, video.Video3DFormat, time, cancellationToken).ConfigureAwait(false))
{
using (var fileStream = _fileSystem.GetFileStream(path, FileMode.Create, FileAccess.Write, FileShare.Read, true))
{