2019-01-13 20:02:23 +00:00
|
|
|
using System.IO;
|
2018-12-14 09:40:55 +00:00
|
|
|
using System.Threading;
|
|
|
|
using MediaBrowser.Model.MediaInfo;
|
|
|
|
|
|
|
|
namespace MediaBrowser.MediaEncoding.Subtitles
|
|
|
|
{
|
|
|
|
/// <summary>
|
2019-10-26 20:53:53 +00:00
|
|
|
/// Interface ISubtitleWriter.
|
2018-12-14 09:40:55 +00:00
|
|
|
/// </summary>
|
|
|
|
public interface ISubtitleWriter
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// Writes the specified information.
|
|
|
|
/// </summary>
|
|
|
|
/// <param name="info">The information.</param>
|
|
|
|
/// <param name="stream">The stream.</param>
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
void Write(SubtitleTrackInfo info, Stream stream, CancellationToken cancellationToken);
|
|
|
|
}
|
|
|
|
}
|