update validation error wording

This commit is contained in:
Mees Frensel 2026-06-13 13:17:12 +02:00 committed by GitHub
parent 56643a4fee
commit 3fecea0b35
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -111,7 +111,7 @@ const SystemConfigFFmpegSchema = z
.meta({ id: 'SystemConfigFFmpegRealtimeDto' }),
})
.refine((ffmpeg) => (ffmpeg.targetVideoCodec === VideoCodec.Av1 ? ffmpeg.threads <= 6 : true), {
error: 'AV1 threads/parallelism must be 0 or 16',
error: 'Threads: for AV1, parallelism must be 06',
})
.meta({ id: 'SystemConfigFFmpegDto' });