Fix AutoThread

pull/940/head
Jorropo 2018-08-21 14:09:53 +02:00 committed by Chocobozzz
parent 65fcf1e9c2
commit 9e91237655
1 changed files with 2 additions and 2 deletions

View File

@ -72,10 +72,10 @@ export class CustomConfigValidatorsService {
}
this.TRANSCODING_THREADS = {
VALIDATORS: [ Validators.required, Validators.min(1) ],
VALIDATORS: [ Validators.required, Validators.min(0) ],
MESSAGES: {
'required': this.i18n('Transcoding threads is required.'),
'min': this.i18n('Transcoding threads must be greater than 1.')
'min': this.i18n('Transcoding threads must be greater or equal to 0.')
}
}
}