2014-05-05 14:45:45 +00:00
|
|
|
|
using System.IO;
|
2014-06-11 14:42:03 +00:00
|
|
|
|
using System.Threading;
|
2015-07-20 03:43:13 +00:00
|
|
|
|
using MediaBrowser.Model.MediaInfo;
|
2014-05-05 14:45:45 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.MediaEncoding.Subtitles
|
|
|
|
|
{
|
|
|
|
|
public interface ISubtitleParser
|
|
|
|
|
{
|
2014-06-11 14:42:03 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Parses the specified stream.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="stream">The stream.</param>
|
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
|
/// <returns>SubtitleTrackInfo.</returns>
|
|
|
|
|
SubtitleTrackInfo Parse(Stream stream, CancellationToken cancellationToken);
|
2014-05-05 14:45:45 +00:00
|
|
|
|
}
|
|
|
|
|
}
|