summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2019-06-30 01:10:44 +0200
committerwm4 <wm4@nowhere>2019-09-19 20:37:05 +0200
commitc8b8fe9981c654c0539ca77056ed6451a3da7367 (patch)
treeeeb90f352ead8588e0756be1e97a25595baca495 /DOCS
parentc6773692adba9d65fd43313f07a8aab9af2aa80d (diff)
downloadmpv-c8b8fe9981c654c0539ca77056ed6451a3da7367.tar.bz2
mpv-c8b8fe9981c654c0539ca77056ed6451a3da7367.tar.xz
audio: remove unreferenced af_lavrresample
This filter wasn't referenced anywhere and thus was dead code. It should have been in the audio filter list in user_filters.c. This was intended as compatibility wrapper (to avoid breaking old command lines and config files), and has no real use. Apparently I forgot to add it to the filter list (did I even test this shit?), and so it was rotting around for 1.5 years doing nothing (just like myself). Note that users can just use the libavfilter provided filter to force resampling, just that it has a different name and different options. There's also af_format to force inserting auto conversion through the internal f_swsresample filter.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/af.rst38
1 files changed, 0 insertions, 38 deletions
diff --git a/DOCS/man/af.rst b/DOCS/man/af.rst
index 4e806d482e..aebf76431a 100644
--- a/DOCS/man/af.rst
+++ b/DOCS/man/af.rst
@@ -24,44 +24,6 @@ See ``--vf`` group of options for info on how ``--af-defaults``, ``--af-add``,
Available filters are:
-``lavrresample[=option1:option2:...]``
- This filter uses libavresample (or libswresample, depending on the build)
- to change sample rate, sample format, or channel layout of the audio stream.
- This filter is automatically enabled if the audio output does not support
- the audio configuration of the file being played.
-
- .. warning::
-
- Deprecated. Either use the ``--audio-resample-...`` options to customize
- resampling, or the libavfilter ``--af=aresample`` filter, which has its
- own options.
-
- It supports only the following sample formats: u8, s16, s32, float.
-
- ``filter-size=<length>``
- Length of the filter with respect to the lower sampling rate. (default:
- 16)
- ``phase-shift=<count>``
- Log2 of the number of polyphase entries. (..., 10->1024, 11->2048,
- 12->4096, ...) (default: 10->1024)
- ``cutoff=<cutoff>``
- Cutoff frequency (0.0-1.0), default set depending upon filter length.
- ``linear``
- If set then filters will be linearly interpolated between polyphase
- entries. (default: no)
- ``no-detach``
- Do not detach if input and output audio format/rate/channels match.
- (If you just want to set defaults for this filter that will be used
- even by automatically inserted lavrresample instances, you should
- prefer setting them with the ``--audio-resample-...`` options.) This
- does not do anything anymore and the filter will never detach.
- ``normalize=<yes|no|auto>``
- Whether to normalize when remixing channel layouts (default: auto).
- ``auto`` uses the value set by ``--audio-normalize-downmix``.
- ``o=<string>``
- Set AVOptions on the SwrContext or AVAudioResampleContext. These should
- be documented by FFmpeg or Libav.
-
``lavcac3enc[=options]``
Encode multi-channel audio to AC-3 at runtime using libavcodec. Supports
16-bit native-endian input format, maximum 6 channels. The output is