mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +00:00
added a configuration option to select the dri node in transcoding (#6376)
* added a configuration option to select the dri node in transcoding * chore: open api * refactor: get hawrdware device --------- Co-authored-by: Jason Rasmussen <jrasm91@gmail.com>
This commit is contained in:
parent
68f8525eb1
commit
76f8d030ce
12 changed files with 140 additions and 4 deletions
|
|
@ -78,6 +78,9 @@ export class SystemConfigFFmpegDto {
|
|||
@IsBoolean()
|
||||
twoPass!: boolean;
|
||||
|
||||
@IsString()
|
||||
preferredHwDevice!: string;
|
||||
|
||||
@IsEnum(TranscodePolicy)
|
||||
@ApiProperty({ enumName: 'TranscodePolicy', enum: TranscodePolicy })
|
||||
transcode!: TranscodePolicy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue