From 3ab67886b090f67bdbf703a816c6b1a1b5cfb66f Mon Sep 17 00:00:00 2001 From: apeman Date: Sat, 6 Jul 2024 01:09:39 +0200 Subject: [PATCH] Fix: Update tests to include autorotate --- server/src/services/media.service.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/src/services/media.service.spec.ts b/server/src/services/media.service.spec.ts index 7cbc165ac9..c0dae0170d 100644 --- a/server/src/services/media.service.spec.ts +++ b/server/src/services/media.service.spec.ts @@ -1573,7 +1573,7 @@ describe(MediaService.name, () => { '-hwaccel qsv', '-hwaccel_output_format qsv', '-async_depth 4', - '-', + '-noautorotate', '-threads 1', ]), outputOptions: expect.arrayContaining([ @@ -1839,7 +1839,7 @@ describe(MediaService.name, () => { '/original/path.ext', 'upload/encoded-video/user-id/as/se/asset-id.mp4', { - inputOptions: expect.arrayContaining(['-hwaccel rkmpp', '-hwaccel_output_format drm_prime', '-afbc rga', '-']), + inputOptions: expect.arrayContaining(['-hwaccel rkmpp', '-hwaccel_output_format drm_prime', '-afbc rga', '-noautorotate']), outputOptions: expect.arrayContaining([ `-c:v h264_rkmpp`, '-c:a copy',