fix: Add missing config defaut. (#62)

Without this value, and without a corresponding config.json
entry, the thumbnail will not be generated.

Closes prologic/tube#41

Reviewed-on: https://git.mills.io/prologic/tube/pulls/62
Co-authored-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
Co-committed-by: Heinrich 'Henrik' Langos <gumbo2000@noreply@mills.io>
This commit is contained in:
Heinrich 'Henrik' Langos 2023-01-21 00:59:40 +00:00 committed by James Mills
parent eba9db5be5
commit 38e9421017

View file

@ -85,6 +85,7 @@ func DefaultConfig() *Config {
},
Thumbnailer: &ThumbnailerConfig{
Timeout: 60,
PositionFromStart: 3,
},
Transcoder: &TranscoderConfig{
Timeout: 300,