mirror of
https://github.com/immich-app/immich.git
synced 2025-01-28 00:59:18 -05:00
Add noautorotate to all HW recorders
This commit is contained in:
parent
6c49a4ba34
commit
34bea0190e
1 changed files with 2 additions and 2 deletions
|
@ -732,7 +732,7 @@ export class QsvHwDecodeConfig extends QsvSwDecodeConfig {
|
|||
throw new Error('No QSV device found');
|
||||
}
|
||||
|
||||
const options = ['-hwaccel qsv', '-hwaccel_output_format qsv', '-async_depth 4', ...this.getInputThreadOptions()];
|
||||
const options = ['-hwaccel qsv', '-hwaccel_output_format qsv', '-async_depth 4', '-noautorotate', ...this.getInputThreadOptions()];
|
||||
const hwDevice = this.getPreferredHardwareDevice();
|
||||
if (hwDevice) {
|
||||
options.push(`-qsv_device ${hwDevice}`);
|
||||
|
@ -910,7 +910,7 @@ export class RkmppHwDecodeConfig extends RkmppSwDecodeConfig {
|
|||
throw new Error('No RKMPP device found');
|
||||
}
|
||||
|
||||
return ['-hwaccel rkmpp', '-hwaccel_output_format drm_prime', '-afbc rga'];
|
||||
return ['-hwaccel rkmpp', '-hwaccel_output_format drm_prime', '-afbc rga', '-noautorotate'];
|
||||
}
|
||||
|
||||
getFilterOptions(videoStream: VideoStreamInfo) {
|
||||
|
|
Loading…
Add table
Reference in a new issue