Make audio stream optional for preview generation (#1454)

This commit is contained in:
bnkai
2021-06-11 08:01:32 +03:00
committed by GitHub
parent f843359ba3
commit f1786ad871
11 changed files with 59 additions and 7 deletions

View File

@@ -62,6 +62,7 @@ func makeConfigGeneralResult() *models.ConfigGeneralResult {
CalculateMd5: config.IsCalculateMD5(),
VideoFileNamingAlgorithm: config.GetVideoFileNamingAlgorithm(),
ParallelTasks: config.GetParallelTasks(),
PreviewAudio: config.GetPreviewAudio(),
PreviewSegments: config.GetPreviewSegments(),
PreviewSegmentDuration: config.GetPreviewSegmentDuration(),
PreviewExcludeStart: config.GetPreviewExcludeStart(),