[MPlayer-cvslog] r28211 - trunk/libmpcodecs/vf.c

reimar subversion at mplayerhq.hu
Tue Dec 30 11:40:27 CET 2008


Author: reimar
Date: Tue Dec 30 11:40:26 2008
New Revision: 28211

Log:
Fix OSD flickering with filters that add frames (tfields, yadif) and
-correct-pts

Modified:
   trunk/libmpcodecs/vf.c

Modified: trunk/libmpcodecs/vf.c
==============================================================================
--- trunk/libmpcodecs/vf.c	Tue Dec 30 11:38:39 2008	(r28210)
+++ trunk/libmpcodecs/vf.c	Tue Dec 30 11:40:26 2008	(r28211)
@@ -578,6 +578,12 @@ int vf_output_queued_frame(vf_instance_t
 	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;
     }



More information about the MPlayer-cvslog mailing list