summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-25 14:33:20 +0100
committerwm4 <wm4@nowhere>2015-03-25 14:33:20 +0100
commit72308256e45e9184bb1578ad2cd40830e091ce13 (patch)
tree2a0406cc78325277c5655f6cc313f11b4d727c60 /common
parent83476433b5e98282af170b0be59ed897ea6aedab (diff)
downloadmpv-72308256e45e9184bb1578ad2cd40830e091ce13.tar.bz2
mpv-72308256e45e9184bb1578ad2cd40830e091ce13.tar.xz
vf_vapoursynth: handle approximate EOF draining
Handling this perfectly with VapourSynth is probably not possible: you either need to tell it the total number of input frames in advance, or deliver an infinite stream. With playback, EOF can happen at an unpredictable point, for which the VapourSynth API has no mechanism at all. We handle EOF by returning an error to the filter, which will the filter return all pending frame callbacks. We still can try to handle it approximately: if the filter requests a frame past EOF, then send it an error. This seems to work relatively well with filters which don't request future frames.
Diffstat (limited to 'common')
0 files changed, 0 insertions, 0 deletions