Deactivate subtitles by default (#26)

This commit is contained in:
bytedream 2022-04-27 10:53:40 +02:00
parent 1e865adaa5
commit 0c92fc0989

View file

@ -568,7 +568,7 @@ func archiveFFmpeg(ctx context.Context, dst io.Writer, videoFiles, audioFiles, s
file.Close() file.Close()
defer os.Remove(file.Name()) defer os.Remove(file.Name())
commandOptions = append(commandOptions, "-c", "copy", "-f", "matroska", file.Name()) commandOptions = append(commandOptions, "-disposition:s:0", "0", "-c", "copy", "-f", "matroska", file.Name())
// just a little nicer debug output to copy and paste the ffmpeg for debug reasons // just a little nicer debug output to copy and paste the ffmpeg for debug reasons
if out.IsDev() { if out.IsDev() {