aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-07-27 23:17:06 -0400
committerRapptz <[email protected]>2019-07-27 23:17:06 -0400
commit12343c142262c675ca4b0483ad9bb099c9fac835 (patch)
treef98d4e399218cf733de0e10ceae32e1d1d76c124
parent[tasks] Add Loop.exception for more reliable exception retrieval. (diff)
downloaddiscord.py-12343c142262c675ca4b0483ad9bb099c9fac835.tar.xz
discord.py-12343c142262c675ca4b0483ad9bb099c9fac835.zip
Add versionadded tags to new ffmpeg related classes.
-rw-r--r--discord/player.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/discord/player.py b/discord/player.py
index bf27b581..dbe06de8 100644
--- a/discord/player.py
+++ b/discord/player.py
@@ -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