aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app')
-rw-r--r--client/src/app/shared/forms/form-validators/custom-config-validators.service.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts b/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts
index 0c2489a9d..882e39453 100644
--- a/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts
+++ b/client/src/app/shared/forms/form-validators/custom-config-validators.service.ts
@@ -72,10 +72,10 @@ export class CustomConfigValidatorsService {
72 } 72 }
73 73
74 this.TRANSCODING_THREADS = { 74 this.TRANSCODING_THREADS = {
75 VALIDATORS: [ Validators.required, Validators.min(1) ], 75 VALIDATORS: [ Validators.required, Validators.min(0) ],
76 MESSAGES: { 76 MESSAGES: {
77 'required': this.i18n('Transcoding threads is required.'), 77 'required': this.i18n('Transcoding threads is required.'),
78 'min': this.i18n('Transcoding threads must be greater than 1.') 78 'min': this.i18n('Transcoding threads must be greater or equal to 0.')
79 } 79 }
80 } 80 }
81 } 81 }