mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 16:51:59 +00:00
Add versionadded tags to new ffmpeg related classes.
This commit is contained in:
parent
7a8c9e66d9
commit
12343c1422
@ -117,6 +117,8 @@ class FFmpegAudio(AudioSource):
|
||||
|
||||
User created AudioSources using FFmpeg differently from how :class:`FFmpegPCMAudio` and
|
||||
:class:`FFmpegOpusAudio` work should subclass this.
|
||||
|
||||
.. versionadded:: 1.3.0
|
||||
"""
|
||||
|
||||
def __init__(self, source, *, executable='ffmpeg', args, **subprocess_kwargs):
|
||||
@ -236,6 +238,8 @@ class FFmpegOpusAudio(FFmpegAudio):
|
||||
The same can be achieved by passing ``copy`` to the ``codec`` parameter, but only if you
|
||||
know that the input source is opus encoded beforehand.
|
||||
|
||||
.. versionadded:: 1.3.0
|
||||
|
||||
.. warning::
|
||||
|
||||
You must have the ffmpeg or avconv executable in your path environment
|
||||
|
Loading…
x
Reference in New Issue
Block a user