mirror of
https://github.com/immich-app/immich
synced 2026-08-22 13:13:05 +00:00
update validation error wording
This commit is contained in:
parent
56643a4fee
commit
3fecea0b35
1 changed files with 1 additions and 1 deletions
|
|
@ -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 1–6',
|
||||
error: 'Threads: for AV1, parallelism must be 0–6',
|
||||
})
|
||||
.meta({ id: 'SystemConfigFFmpegDto' });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue