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:
parent
eba9db5be5
commit
38e9421017
1 changed files with 1 additions and 0 deletions
|
@ -85,6 +85,7 @@ func DefaultConfig() *Config {
|
||||||
},
|
},
|
||||||
Thumbnailer: &ThumbnailerConfig{
|
Thumbnailer: &ThumbnailerConfig{
|
||||||
Timeout: 60,
|
Timeout: 60,
|
||||||
|
PositionFromStart: 3,
|
||||||
},
|
},
|
||||||
Transcoder: &TranscoderConfig{
|
Transcoder: &TranscoderConfig{
|
||||||
Timeout: 300,
|
Timeout: 300,
|
||||||
|
|
Loading…
Reference in a new issue