diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-12-30 10:40:26 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-12-30 10:40:26 +0000 |
commit | 17ea23ac7467a26aa0919deae506c15641c03afb (patch) | |
tree | 97c1aaef10ebef3736e614d294c07429767880a1 | |
parent | 8385fa3dc62b51e3395c6206b0901f2e909b8f57 (diff) | |
download | mpv-17ea23ac7467a26aa0919deae506c15641c03afb.tar.bz2 mpv-17ea23ac7467a26aa0919deae506c15641c03afb.tar.xz |
Fix OSD flickering with filters that add frames (tfields, yadif) and
-correct-pts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28211 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libmpcodecs/vf.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libmpcodecs/vf.c b/libmpcodecs/vf.c index d04d7f0ecc..cd181156f4 100644 --- a/libmpcodecs/vf.c +++ b/libmpcodecs/vf.c @@ -578,6 +578,12 @@ int vf_output_queued_frame(vf_instance_t *vf) tmp = last->continue_buffered_image; last->continue_buffered_image = NULL; ret = tmp(last); + if (ret > 0) { + vf->control(vf, VFCTRL_DRAW_OSD, NULL); +#ifdef CONFIG_ASS + vf->control(vf, VFCTRL_DRAW_EOSD, NULL); +#endif + } if (ret) return ret; } |