summaryrefslogtreecommitdiffstats
path: root/DOCS
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-14 18:03:13 +0200
committerwm4 <wm4@nowhere>2014-04-14 18:03:13 +0200
commit7178257bb69ca7bf597efbf2e2f35dd2628ff199 (patch)
tree4c47a9772c47fd64d66d161355e4ce013c4f770b /DOCS
parent9ffb35848bba4fc895ccd8ecfe2f9f486c201ba0 (diff)
downloadmpv-7178257bb69ca7bf597efbf2e2f35dd2628ff199.tar.bz2
mpv-7178257bb69ca7bf597efbf2e2f35dd2628ff199.tar.xz
vf_vapoursynth: wipe vapoursynth state completely on reloading
Before this commit, the filter attempted to keep the vsscript state (p->se) even when the script was reloaded. Change it to destroy the script state too on reloading. Now no workaround for LoadPlugin is necessary, and this also fixes a weird theoretical race condition when destroying and recreating the mpv source filter.
Diffstat (limited to 'DOCS')
-rw-r--r--DOCS/man/en/vf.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/DOCS/man/en/vf.rst b/DOCS/man/en/vf.rst
index c88626ffad..b361603f60 100644
--- a/DOCS/man/en/vf.rst
+++ b/DOCS/man/en/vf.rst
@@ -882,10 +882,7 @@ Available filters are:
.. warning::
The script will be reloaded on every seek. This is done to reset
- the filter properly on discontinuities. One problem with that is
- that VapourSynth's ``LoadPlugin`` is documented to error when a
- plugin is already loaded, so if you use this function, you'll have
- to add a workaround to ignore the error.
+ the filter properly on discontinuities.
``maxbuffer``
Maximum number of decoded video frames that should be buffered before