mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 19:37:55 +02:00
16 lines
495 B
C#
16 lines
495 B
C#
using System.IO;
|
|
using System.Threading;
|
|
|
|
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);
|
|
}
|
|
}
|