mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix(server): avoid transcoding thumbnail streams (#11603)
Co-authored-by: mincrmatt12 <mincrmatt12@users.noreply.github.com>
This commit is contained in:
parent
720b9a286e
commit
fb68da2b51
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue