Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix AutoThread

Jorropo9e91237655df
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 0c2489a9d8..882e39453c 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 {
}
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.')
}
}
}