From 2b06d4b2843acd447e8ec7cba96ddc32ec8255dd Mon Sep 17 00:00:00 2001 From: apeman Date: Sat, 6 Jul 2024 01:08:14 +0200 Subject: [PATCH] Update tests to include autorotate --- server/src/services/media.service.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/src/services/media.service.spec.ts b/server/src/services/media.service.spec.ts index d9e2fa9f51..7cbc165ac9 100644 --- a/server/src/services/media.service.spec.ts +++ b/server/src/services/media.service.spec.ts @@ -1573,6 +1573,7 @@ describe(MediaService.name, () => { '-hwaccel qsv', '-hwaccel_output_format qsv', '-async_depth 4', + '-', '-threads 1', ]), outputOptions: expect.arrayContaining([ @@ -1838,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', '-']), outputOptions: expect.arrayContaining([ `-c:v h264_rkmpp`, '-c:a copy',