[MPlayer-cvslog] r29093 - trunk/libvo/vo_vdpau.c

cehoyos subversion at mplayerhq.hu
Sun Mar 29 13:15:23 CEST 2009


Author: cehoyos
Date: Sun Mar 29 13:15:22 2009
New Revision: 29093

Log:
10l: Don't use MP_IMGFIELD_TOP_FIRST if MP_IMGFIELD_ORDERED is not set.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Sat Mar 28 23:54:01 2009	(r29092)
+++ trunk/libvo/vo_vdpau.c	Sun Mar 29 13:15:22 2009	(r29093)
@@ -892,7 +892,10 @@ static uint32_t draw_image(mp_image_t *m
                                                     mpi->stride); // pitch
         CHECK_ST_ERROR("Error when calling vdp_video_surface_put_bits_y_cb_cr")
     }
+    if (mpi->fields & MP_IMGFIELD_ORDERED)
     top_field_first = !!(mpi->fields & MP_IMGFIELD_TOP_FIRST);
+    else
+        top_field_first = 1;
 
     video_to_output_surface();
     return VO_TRUE;


More information about the MPlayer-cvslog mailing list