mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
Add warning for FFmpeg spawning classes executable parameter
This commit is contained in:
parent
8d3b56206b
commit
9345a2a1be
@ -288,6 +288,12 @@ class FFmpegPCMAudio(FFmpegAudio):
|
||||
passed to the stdin of ffmpeg.
|
||||
executable: :class:`str`
|
||||
The executable name (and path) to use. Defaults to ``ffmpeg``.
|
||||
|
||||
.. warning::
|
||||
|
||||
Since this class spawns a subprocess, care should be taken to not
|
||||
pass in an arbitrary executable name when using this parameter.
|
||||
|
||||
pipe: :class:`bool`
|
||||
If ``True``, denotes that ``source`` parameter will be passed
|
||||
to the stdin of ffmpeg. Defaults to ``False``.
|
||||
@ -392,6 +398,12 @@ class FFmpegOpusAudio(FFmpegAudio):
|
||||
|
||||
executable: :class:`str`
|
||||
The executable name (and path) to use. Defaults to ``ffmpeg``.
|
||||
|
||||
.. warning::
|
||||
|
||||
Since this class spawns a subprocess, care should be taken to not
|
||||
pass in an arbitrary executable name when using this parameter.
|
||||
|
||||
pipe: :class:`bool`
|
||||
If ``True``, denotes that ``source`` parameter will be passed
|
||||
to the stdin of ffmpeg. Defaults to ``False``.
|
||||
|
Loading…
x
Reference in New Issue
Block a user