Mercurial > mplayer.hg
changeset 28007:16b39ef63bb5
Use D3DFMT_ constants where possible instead of MAKEFOURCC
author | reimar |
---|---|
date | Wed, 26 Nov 2008 16:30:42 +0000 |
parents | c06e8f1eec97 |
children | a0d376b63a6a |
files | libvo/vo_direct3d.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_direct3d.c Wed Nov 26 16:27:39 2008 +0000 +++ b/libvo/vo_direct3d.c Wed Nov 26 16:30:42 2008 +0000 @@ -88,8 +88,8 @@ {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