Fix FFmpegPCMAudio not working with spaces in filename.

This commit is contained in:
Rapptz 2017-04-18 16:05:32 -04:00
parent 1fc08bc5a2
commit b4bc4dfd12

View File

@ -138,7 +138,7 @@ class FFmpegPCMAudio(AudioSource):
args.extend(shlex.split(before_options))
args.append('-i')
args.append('-' if pipe else shlex.quote(source))
args.append('-' if pipe else source)
args.extend(('-f', 's16le', '-ar', '48000', '-ac', '2', '-loglevel', 'warning'))
if isinstance(options, str):