mirror of
https://github.com/immich-app/immich.git
synced 2025-01-01 08:31:59 +00:00
Fix: Update tests to include autorotate
This commit is contained in:
parent
2b06d4b284
commit
3ab67886b0
1 changed files with 2 additions and 2 deletions
|
@ -1573,7 +1573,7 @@ describe(MediaService.name, () => {
|
||||||
'-hwaccel qsv',
|
'-hwaccel qsv',
|
||||||
'-hwaccel_output_format qsv',
|
'-hwaccel_output_format qsv',
|
||||||
'-async_depth 4',
|
'-async_depth 4',
|
||||||
'-',
|
'-noautorotate',
|
||||||
'-threads 1',
|
'-threads 1',
|
||||||
]),
|
]),
|
||||||
outputOptions: expect.arrayContaining([
|
outputOptions: expect.arrayContaining([
|
||||||
|
@ -1839,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', '-noautorotate']),
|
||||||
outputOptions: expect.arrayContaining([
|
outputOptions: expect.arrayContaining([
|
||||||
`-c:v h264_rkmpp`,
|
`-c:v h264_rkmpp`,
|
||||||
'-c:a copy',
|
'-c:a copy',
|
||||||
|
|
Loading…
Reference in a new issue