From 7178257bb69ca7bf597efbf2e2f35dd2628ff199 Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 14 Apr 2014 18:03:13 +0200 Subject: 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. --- DOCS/man/en/vf.rst | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'DOCS') 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 -- cgit v1.2.3