mirror of
https://github.com/immich-app/immich.git
synced 2025-11-25 18:10:48 +09: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user