summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-10-11 13:25:38 +0200
committerwm4 <wm4@nowhere>2014-10-11 13:25:38 +0200
commitab41b8d27bf8a25caeac32b816855b5379f6cdf6 (patch)
tree2a671b923f6bc7eb6c9d986920c9428ee28968f3 /wscript_build.py
parentc5c21abf78811d1458dc4ade95e5f04cb4b14733 (diff)
downloadmpv-ab41b8d27bf8a25caeac32b816855b5379f6cdf6.tar.bz2
mpv-ab41b8d27bf8a25caeac32b816855b5379f6cdf6.tar.xz
vf_vapoursynth: fail gracefully if filter init requests frames
Some VS filters will requests frames from their parent filters while they're initialized. Thy do this in a blocking manner, and initialization will not succeed until the frame request is satisfied. This deadlocked mpv, because we can feed frames to the filter only after initialization is finished. Return an error instead of deadlocking. Note that we (probably) can handle frames being requested during init fine, as long as the requests don't block initialization. But we can distinguish this situation, and a simple test seems to indicate VS usually doesn't do this. See #1168.
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions