mirror of
https://github.com/immich-app/immich.git
synced 2025-03-11 02:23:09 -05:00
fix software tone-mapping not being applied
This commit is contained in:
parent
1556d978ed
commit
a2b7403978
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ export class NVENCConfig extends BaseHWConfig {
|
||||||
getFilterOptions(videoStream: VideoStreamInfo) {
|
getFilterOptions(videoStream: VideoStreamInfo) {
|
||||||
const options = [];
|
const options = [];
|
||||||
if (!this.config.accelDecode) {
|
if (!this.config.accelDecode) {
|
||||||
options.push('format=nv12', 'hwupload_cuda');
|
options.push(...this.getToneMapping(videoStream), 'format=nv12', 'hwupload_cuda');
|
||||||
if (this.shouldScale(videoStream)) {
|
if (this.shouldScale(videoStream)) {
|
||||||
options.push(`scale_cuda=${this.getScaling(videoStream)}`);
|
options.push(`scale_cuda=${this.getScaling(videoStream)}`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue