mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-06 03:26:07 +02:00
dependencies Makes the probesize and analyzeduration configurable with env args. (`JELLYFIN_FFmpeg_probesize` and `FFmpeg_analyzeduration`)
20 lines
622 B
C#
20 lines
622 B
C#
using System.IO;
|
|
using System.Threading;
|
|
using MediaBrowser.Model.MediaInfo;
|
|
|
|
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>
|
|
/// <param name="cancellationToken">The cancellation token.</param>
|
|
void Write(SubtitleTrackInfo info, Stream stream, CancellationToken cancellationToken);
|
|
}
|
|
}
|