summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-01-03 03:01:58 +0100
committerwm4 <wm4@nowhere>2015-01-03 03:01:58 +0100
commitf5ed13bcd4aacd362db9da3b5ad3f8747f13d944 (patch)
tree289bf7a376236d2da9547f5bbcdb9e62529025b2 /player/main.c
parent73ea0ddc080a53b5474205703ba3b189d0352d3a (diff)
downloadmpv-f5ed13bcd4aacd362db9da3b5ad3f8747f13d944.tar.bz2
mpv-f5ed13bcd4aacd362db9da3b5ad3f8747f13d944.tar.xz
video: better pipelining with vf_vapoursynth
Most of this is explained in the code comments. This change should improve performance with vapoursynth, especially if concurrent requests are used. This should change nothing if vf_vapoursynth is not in the filter chain, since non-threaded filters obviously can not asynchronously finish filtering of frames.
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/player/main.c b/player/main.c
index 732be8c1da..48bcab0bef 100644
--- a/player/main.c
+++ b/player/main.c
@@ -378,7 +378,7 @@ struct MPContext *mp_create(void)
return mpctx;
}
-static void wakeup_playloop(void *ctx)
+void wakeup_playloop(void *ctx)
{
struct MPContext *mpctx = ctx;
mp_input_wakeup(mpctx->input);