* cleanup scanner project * cleanup infrastructure projects * cleanup ffmpeg project * cleanup core project * cleanup app project * cleanup main project * update dependencies * code cleanup
12 lines
393 B
C#
12 lines
393 B
C#
namespace ErsatzTV.FFmpeg.OutputOption.Metadata;
|
|
|
|
public class MetadataSubtitleTitleOutputOption : OutputOption
|
|
{
|
|
private readonly string _subtitleTitle;
|
|
|
|
public MetadataSubtitleTitleOutputOption(string subtitleTitle) => _subtitleTitle = subtitleTitle;
|
|
|
|
public override IList<string> OutputOptions => new List<string>
|
|
{ "-metadata:s:s:0", $"title={_subtitleTitle}" };
|
|
}
|