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

@@ -27,6 +27,8 @@ type GeneratorInfo struct {
ExcludeEnd string
VideoFile ffmpeg.VideoFile
Audio bool // used for preview generation
}
func newGeneratorInfo(videoFile ffmpeg.VideoFile) (*GeneratorInfo, error) {