[MPlayer-cvslog] r28041 - trunk/libvo/vo_direct3d.c

reimar subversion at mplayerhq.hu
Wed Nov 26 17:30:42 CET 2008


Author: reimar
Date: Wed Nov 26 17:30:42 2008
New Revision: 28041

Log:
Use D3DFMT_ constants where possible instead of MAKEFOURCC

Modified:
   trunk/libvo/vo_direct3d.c

Modified: trunk/libvo/vo_direct3d.c
==============================================================================
--- trunk/libvo/vo_direct3d.c	(original)
+++ trunk/libvo/vo_direct3d.c	Wed Nov 26 17:30:42 2008
@@ -88,8 +88,8 @@ static const struct_fmt_table fmt_table[
     {IMGFMT_I420, MAKEFOURCC('I','4','2','0')},
     {IMGFMT_IYUV, MAKEFOURCC('I','Y','U','V')},
     {IMGFMT_YVU9, MAKEFOURCC('Y','V','U','9')},
-    {IMGFMT_YUY2, MAKEFOURCC('Y','U','Y','2')},
-    {IMGFMT_UYVY, MAKEFOURCC('U','Y','V','Y')},
+    {IMGFMT_YUY2,  D3DFMT_YUY2},
+    {IMGFMT_UYVY,  D3DFMT_UYVY},
     {IMGFMT_BGR32, D3DFMT_X8R8G8B8},
     {IMGFMT_RGB32, D3DFMT_X8B8G8R8},
     {IMGFMT_BGR24, D3DFMT_R8G8B8}, //untested



More information about the MPlayer-cvslog mailing list