changeset 28724:307da077861c

Fix OSD for vo vdpau:deint>1.
author cehoyos
date Sat, 28 Feb 2009 13:02:52 +0000
parents 68893c41ae26
children b9c26620ada7
files libvo/vo_vdpau.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_vdpau.c	Sat Feb 28 10:43:28 2009 +0000
+++ b/libvo/vo_vdpau.c	Sat Feb 28 13:02:52 2009 +0000
@@ -212,8 +212,10 @@
     for (i = 0; i <= !!(deint > 1); i++) {
         int field = VDP_VIDEO_MIXER_PICTURE_STRUCTURE_FRAME;
         VdpOutputSurface output_surface;
-        if (i)
+        if (i) {
+            draw_osd();
             flip_page();
+        }
         if (deint)
             field = top_field_first == i ?
                     VDP_VIDEO_MIXER_PICTURE_STRUCTURE_BOTTOM_FIELD: