1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-29 15:11:58 +00:00

Fix: Update tests to include autorotate

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

View file

@ -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',