jellyfin/MediaBrowser.Controller/MediaEncoding/ISubtitleEncoder.cs
2014-06-11 10:42:03 -04:00

22 lines
565 B
C#

using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Controller.MediaEncoding
{
public interface ISubtitleEncoder
{
Task<Stream> ConvertSubtitles(
Stream stream,
string inputFormat,
string outputFormat,
CancellationToken cancellationToken);
Task<Stream> GetSubtitles(string itemId,
string mediaSourceId,
int subtitleStreamIndex,
string outputFormat,
CancellationToken cancellationToken);
}
}