diff --git a/server/src/services/media.service.ts b/server/src/services/media.service.ts index 1d6fda4bbd..55cdc956be 100644 --- a/server/src/services/media.service.ts +++ b/server/src/services/media.service.ts @@ -363,8 +363,7 @@ export class MediaService { `Error occurred during transcoding. Retrying with ${config.accel.toUpperCase()} acceleration disabled.`, ); } - config.accel = TranscodeHWAccel.DISABLED; - transcodeOptions = await this.getCodecConfig(config).then((c) => + transcodeOptions = await this.getCodecConfig({ ...config, accel: TranscodeHWAccel.DISABLED }).then((c) => c.getOptions(target, mainVideoStream, mainAudioStream), ); await this.mediaRepository.transcode(input, output, transcodeOptions);