diff options
author | wm4 <wm4@nowhere> | 2014-04-14 20:49:14 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-04-14 20:51:27 +0200 |
commit | e1f1b0c275401c96c5ce776d74aff144359e6495 (patch) | |
tree | a0ddfa3d1c428b0e891eb50128b297233c79b06b /video/decode/vda.c | |
parent | 059d989bf6c9689cf13cbf3ba069210bf715814d (diff) | |
download | mpv-e1f1b0c275401c96c5ce776d74aff144359e6495.tar.bz2 mpv-e1f1b0c275401c96c5ce776d74aff144359e6495.tar.xz |
vf_vapoursynth: handle destruction more gracefully
We were relying on vsscript_freeScript() to take care of proper
termination. But it doesn't do that: it doesn't wait for the filters to
finish and exit at all. Instead, it just destroys all objects, which
causes the worker threads to crash sometimes.
Also, we're supposed to wait for the frame callback to finish before
freeing the associated node.
Handle this by explicitly waiting as far as we can. Probably fixes
crashes on seeking, although VapourSynth itself might also need some
work to make this case completely stable.
Diffstat (limited to 'video/decode/vda.c')
0 files changed, 0 insertions, 0 deletions