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

cehoyos subversion at mplayerhq.hu
Sat Mar 21 23:53:18 CET 2009


Author: cehoyos
Date: Sat Mar 21 23:53:18 2009
New Revision: 29028

Log:
10l: Only try to create vdpau decoder if hardware decoding is intended.

Modified:
   trunk/libvo/vo_vdpau.c

Modified: trunk/libvo/vo_vdpau.c
==============================================================================
--- trunk/libvo/vo_vdpau.c	Sat Mar 21 21:11:05 2009	(r29027)
+++ trunk/libvo/vo_vdpau.c	Sat Mar 21 23:53:18 2009	(r29028)
@@ -596,7 +596,7 @@ static int config(uint32_t width, uint32
     vid_surface_num = -1;
     resize();
 
-    if (!create_vdp_decoder(2))
+    if (IMGFMT_IS_VDPAU(image_format) && !create_vdp_decoder(2))
         return -1;
 
     return 0;


More information about the MPlayer-cvslog mailing list