mirror of
https://github.com/KevinMidboe/immich.git
synced 2025-10-29 17:40:28 +00:00
fix(server): always disable two-pass mode for video thumbnails (#4258)
* always disable two-pass mode for thumbnails * add regression test * added bitrate constraint to config mock
This commit is contained in:
@@ -278,6 +278,10 @@ export class ThumbnailConfig extends BaseConfig {
|
||||
return [];
|
||||
}
|
||||
|
||||
eligibleForTwoPass() {
|
||||
return false;
|
||||
}
|
||||
|
||||
getScaling(videoStream: VideoStreamInfo) {
|
||||
let options = super.getScaling(videoStream);
|
||||
options += ':flags=lanczos+accurate_rnd+bitexact+full_chroma_int';
|
||||
|
||||
Reference in New Issue
Block a user