1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00: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_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',