0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-21 00:52:43 -05:00
This commit is contained in:
Alex Tran 2024-12-27 10:06:36 -06:00
parent b5d22aef58
commit 3b00d45357

View file

@ -111,7 +111,10 @@
{ value: VideoCodec.Vp9, text: 'VP9' },
{ value: VideoCodec.Av1, text: 'AV1' },
]}
isEdited={!isEqual(sortBy(config.ffmpeg.acceptedVideoCodecs), sortBy(savedConfig.ffmpeg.acceptedVideoCodecs))}
isEdited={!isEqual(
sortBy(config.ffmpeg.acceptedVideoCodecs),
sortBy(savedConfig.ffmpeg.acceptedVideoCodecs),
)}
/>
<SettingCheckboxes
@ -126,7 +129,10 @@
{ value: AudioCodec.Libopus, text: 'Opus' },
{ value: AudioCodec.PcmS16Le, text: 'PCM (16 bit)' },
]}
isEdited={!isEqual(sortBy(config.ffmpeg.acceptedAudioCodecs), sortBy(savedConfig.ffmpeg.acceptedAudioCodecs))}
isEdited={!isEqual(
sortBy(config.ffmpeg.acceptedAudioCodecs),
sortBy(savedConfig.ffmpeg.acceptedAudioCodecs),
)}
/>
<SettingCheckboxes
@ -140,7 +146,10 @@
{ value: VideoContainer.Ogg, text: 'Ogg' },
{ value: VideoContainer.Webm, text: 'WebM' },
]}
isEdited={!isEqual(sortBy(config.ffmpeg.acceptedContainers), sortBy(savedConfig.ffmpeg.acceptedContainers))}
isEdited={!isEqual(
sortBy(config.ffmpeg.acceptedContainers),
sortBy(savedConfig.ffmpeg.acceptedContainers),
)}
/>
</div>
</SettingAccordion>