Add versionadded tags to new ffmpeg related classes.

This commit is contained in:
Rapptz 2019-07-27 23:17:06 -04:00
parent 7a8c9e66d9
commit 12343c1422

View File

@ -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