2020-08-04 07:20:52 -07:00
|
|
|
#pragma warning disable CS1591
|
|
|
|
|
2019-01-13 13:02:23 -07:00
|
|
|
using System.IO;
|
2018-12-14 02:40:55 -07:00
|
|
|
using System.Threading;
|
|
|
|
using MediaBrowser.Model.MediaInfo;
|
|
|
|
|
|
|
|
namespace MediaBrowser.MediaEncoding.Subtitles
|
|
|
|
{
|
|
|
|
public interface ISubtitleParser
|
|
|
|
{
|
|
|
|
/// <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);
|
|
|
|
}
|
|
|
|
}
|