mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
chore(server): change transcode default to accept all supported audio codecs (#7283)
* change transcode defaults * don't untick accepted audio codecs * no need to change the transcode policy * fix tests * remove log
This commit is contained in:
parent
7c34d0595e
commit
397570ad1a
5 changed files with 50 additions and 43 deletions
|
|
@ -90,7 +90,10 @@
|
|||
]}
|
||||
name="acodec"
|
||||
isEdited={config.ffmpeg.targetAudioCodec !== savedConfig.ffmpeg.targetAudioCodec}
|
||||
on:select={() => (config.ffmpeg.acceptedAudioCodecs = [config.ffmpeg.targetAudioCodec])}
|
||||
on:select={() =>
|
||||
config.ffmpeg.acceptedAudioCodecs.includes(config.ffmpeg.targetAudioCodec)
|
||||
? null
|
||||
: config.ffmpeg.acceptedAudioCodecs.push(config.ffmpeg.targetAudioCodec)}
|
||||
/>
|
||||
|
||||
<SettingCheckboxes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue