mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-07-06 01:51:59 +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.
|
passed to the stdin of ffmpeg.
|
||||||
executable: :class:`str`
|
executable: :class:`str`
|
||||||
The executable name (and path) to use. Defaults to ``ffmpeg``.
|
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`
|
pipe: :class:`bool`
|
||||||
If ``True``, denotes that ``source`` parameter will be passed
|
If ``True``, denotes that ``source`` parameter will be passed
|
||||||
to the stdin of ffmpeg. Defaults to ``False``.
|
to the stdin of ffmpeg. Defaults to ``False``.
|
||||||
@ -392,6 +398,12 @@ class FFmpegOpusAudio(FFmpegAudio):
|
|||||||
|
|
||||||
executable: :class:`str`
|
executable: :class:`str`
|
||||||
The executable name (and path) to use. Defaults to ``ffmpeg``.
|
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`
|
pipe: :class:`bool`
|
||||||
If ``True``, denotes that ``source`` parameter will be passed
|
If ``True``, denotes that ``source`` parameter will be passed
|
||||||
to the stdin of ffmpeg. Defaults to ``False``.
|
to the stdin of ffmpeg. Defaults to ``False``.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user