mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-17 19:08:53 -07:00
20 lines
560 B
C#
20 lines
560 B
C#
#pragma warning disable CS1591
|
|
|
|
using System.IO;
|
|
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);
|
|
}
|
|
}
|