// <copyright file="ISubtitleWriter.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>

namespace MediaBrowser.MediaEncoding.Subtitles
{
    using System.IO;
    using System.Threading;
    using MediaBrowser.Model.MediaInfo;

    /// <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>
        /// <param name="cancellationToken">The cancellation token.</param>
        void Write(SubtitleTrackInfo info, Stream stream, CancellationToken cancellationToken);
    }
}
