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:
reimar 2008-12-30 10:40:26 +00:00
parent 8385fa3dc6
commit 17ea23ac74
1 changed files with 6 additions and 0 deletions

View File

@ -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;
}