mirror of
https://github.com/immich-app/immich.git
synced 2025-12-21 09:15:44 +03:00
Revert "fix(server): incorrect out_color_matrix value when generating thumbnails (#13409)"
This reverts commit 9bdfb41e9c.
This commit is contained in:
@@ -424,7 +424,7 @@ export class ThumbnailConfig extends BaseConfig {
|
||||
getScaling(videoStream: VideoStreamInfo) {
|
||||
let options = super.getScaling(videoStream) + ':flags=lanczos+accurate_rnd+full_chroma_int';
|
||||
if (!this.shouldToneMap(videoStream)) {
|
||||
options += ':out_color_matrix=bt601:out_range=pc';
|
||||
options += ':out_color_matrix=601:out_range=pc';
|
||||
}
|
||||
return options;
|
||||
}
|
||||
@@ -432,7 +432,7 @@ export class ThumbnailConfig extends BaseConfig {
|
||||
getColors() {
|
||||
return {
|
||||
primaries: 'bt709',
|
||||
transfer: 'bt601',
|
||||
transfer: '601',
|
||||
matrix: 'bt470bg',
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user