mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
8385fa3dc6
commit
17ea23ac74
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue