diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-04 15:19:29 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-04 15:19:29 -0500 |
| commit | 04d62d3420a2bbbf678ccb20e86938a4522e8097 (patch) | |
| tree | 932c8a088df8fcf4f0f69cca004196911e5a50c9 /MediaBrowser.Controller/MediaInfo/IMediaEncoder.cs | |
| parent | 351cfef7a70ef311801be0bc9eb9e3891265d22b (diff) | |
convert episode providers to new system
Diffstat (limited to 'MediaBrowser.Controller/MediaInfo/IMediaEncoder.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaInfo/IMediaEncoder.cs | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/MediaInfo/IMediaEncoder.cs b/MediaBrowser.Controller/MediaInfo/IMediaEncoder.cs index 86b508012..e77cd14d1 100644 --- a/MediaBrowser.Controller/MediaInfo/IMediaEncoder.cs +++ b/MediaBrowser.Controller/MediaInfo/IMediaEncoder.cs @@ -1,7 +1,8 @@ -using System; +using MediaBrowser.Model.Entities; +using System; +using System.IO; using System.Threading; using System.Threading.Tasks; -using MediaBrowser.Model.Entities; namespace MediaBrowser.Controller.MediaInfo { @@ -36,6 +37,18 @@ namespace MediaBrowser.Controller.MediaInfo Task ExtractImage(string[] inputFiles, InputType type, bool isAudio, Video3DFormat? threedFormat, TimeSpan? offset, string outputPath, CancellationToken cancellationToken); /// <summary> + /// Extracts the image. + /// </summary> + /// <param name="inputFiles">The input files.</param> + /// <param name="type">The type.</param> + /// <param name="isAudio">if set to <c>true</c> [is audio].</param> + /// <param name="threedFormat">The threed format.</param> + /// <param name="offset">The offset.</param> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns>Task{Stream}.</returns> + Task<Stream> ExtractImage(string[] inputFiles, InputType type, bool isAudio, Video3DFormat? threedFormat, TimeSpan? offset, CancellationToken cancellationToken); + + /// <summary> /// Extracts the text subtitle. /// </summary> /// <param name="inputFiles">The input files.</param> |
