Browse Source

Add versionadded tags to new ffmpeg related classes.

pull/2301/head
Rapptz 6 years ago
parent
commit
12343c1422
  1. 4
      discord/player.py

4
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

Loading…
Cancel
Save