diff --git a/src/client/voice/player/BasePlayer.js b/src/client/voice/player/BasePlayer.js index a8889e44a..e19984dff 100644 --- a/src/client/voice/player/BasePlayer.js +++ b/src/client/voice/player/BasePlayer.js @@ -45,7 +45,7 @@ class BasePlayer extends EventEmitter { const isStream = input instanceof ReadableStream; - const args = isStream ? FFMPEG_ARGUMENTS : ['-i', input, ...FFMPEG_ARGUMENTS]; + const args = isStream ? FFMPEG_ARGUMENTS.slice() : ['-i', input, ...FFMPEG_ARGUMENTS]; if (options.seek) args.push('-ss', String(options.seek)); const ffmpeg = new prism.FFmpeg({ args });