summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-03 22:19:27 +0100
committerwm4 <wm4@nowhere>2013-12-04 00:07:38 +0100
commit25635a62c346f307f5d319a38c444f91b7928d43 (patch)
treebc50ccdcf00dda7cd7ea8a8f8ffb3f8e13196cb8 /DOCS
parent733c2369d3d4a70da934899dce06c61871fd26d4 (diff)
downloadmpv-25635a62c346f307f5d319a38c444f91b7928d43.tar.bz2
mpv-25635a62c346f307f5d319a38c444f91b7928d43.tar.xz
vf_lavfi: export a wrapper function
This will allow old filter to run libavfilter instead by calling vf_lw_set_graph(), which turns the filter into a wrapper, using a given libavfilter graph. Later commits use that to automatically "reroute" a bunch of filters to libavfilter. We want to get rid of the old MPlayer filter code, because it's bad an unmaintained, but we still don't want to force everyone to use vf_lavfi, so this solution will do for a while.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/vf.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/DOCS/man/en/vf.rst b/DOCS/man/en/vf.rst
index 4c1423f9d2..ab32cd6907 100644
--- a/DOCS/man/en/vf.rst
+++ b/DOCS/man/en/vf.rst
@@ -377,7 +377,7 @@ Available filters are:
Horizontal deblocking on luminance only, and switch vertical
deblocking on or off automatically depending on available CPU time.
-``lavfi=graph[:sws_flags[:o=opts]]``
+``lavfi=graph[:sws-flags[:o=opts]]``
Filter video using FFmpeg's libavfilter.
``<graph>``
@@ -411,7 +411,7 @@ Available filters are:
``'--vf=lavfi=graph="gradfun=radius=30:strength=20,vflip"'``
Same as before, but uses named parameters for everything.
- ``<sws_flags>``
+ ``<sws-flags>``
If libavfilter inserts filters for pixel format conversion, this
option gives the flags which should be passed to libswscale. This
option is numeric and takes a bit-wise combination of ``SWS_`` flags.