1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2024-12-28 22:51:59 +00:00

fix(server): avoid transcoding thumbnail streams (#11603)

Co-authored-by: mincrmatt12 <mincrmatt12@users.noreply.github.com>
This commit is contained in:
Matthew Mirvish 2024-08-07 18:36:37 -04:00 committed by GitHub
parent 720b9a286e
commit fb68da2b51
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,6 +76,7 @@ export class MediaRepository implements IMediaRepository {
},
videoStreams: results.streams
.filter((stream) => stream.codec_type === 'video')
.filter((stream) => !stream.disposition?.attached_pic)
.map((stream) => ({
index: stream.index,
height: stream.height || 0,