mirror of
https://github.com/immich-app/immich.git
synced 2026-02-04 11:08:03 -08:00
fix software tone-mapping not being applied
This commit is contained in:
@@ -476,7 +476,7 @@ export class NVENCConfig extends BaseHWConfig {
|
||||
getFilterOptions(videoStream: VideoStreamInfo) {
|
||||
const options = [];
|
||||
if (!this.config.accelDecode) {
|
||||
options.push('format=nv12', 'hwupload_cuda');
|
||||
options.push(...this.getToneMapping(videoStream), 'format=nv12', 'hwupload_cuda');
|
||||
if (this.shouldScale(videoStream)) {
|
||||
options.push(`scale_cuda=${this.getScaling(videoStream)}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user