2014-05-11 04:47:48 +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-11 04:47:48 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.MediaEncoding.Subtitles
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface ISubtitleWriter
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface ISubtitleWriter
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Writes the specified information.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <param name="info">The information.</param>
|
|
|
|
|
/// <param name="stream">The stream.</param>
|
2014-06-11 14:42:03 +00:00
|
|
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
|
|
|
void Write(SubtitleTrackInfo info, Stream stream, CancellationToken cancellationToken);
|
2014-05-11 04:47:48 +00:00
|
|
|
|
}
|
|
|
|
|
}
|