1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-04 02:46:47 +01:00

Update tests to include autorotate

This commit is contained in:
apeman 2024-07-06 01:08:14 +02:00 committed by GitHub
parent 34bea0190e
commit 2b06d4b284
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1573,6 +1573,7 @@ describe(MediaService.name, () => {
'-hwaccel qsv', '-hwaccel qsv',
'-hwaccel_output_format qsv', '-hwaccel_output_format qsv',
'-async_depth 4', '-async_depth 4',
'-',
'-threads 1', '-threads 1',
]), ]),
outputOptions: expect.arrayContaining([ outputOptions: expect.arrayContaining([
@ -1838,7 +1839,7 @@ describe(MediaService.name, () => {
'/original/path.ext', '/original/path.ext',
'upload/encoded-video/user-id/as/se/asset-id.mp4', '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([ outputOptions: expect.arrayContaining([
`-c:v h264_rkmpp`, `-c:v h264_rkmpp`,
'-c:a copy', '-c:a copy',