Mercurial > mplayer.hg
changeset 2296:1d100b2d668c
Initial YUV (YV12) support
author | nick |
---|---|
date | Fri, 19 Oct 2001 15:23:18 +0000 |
parents | d48e1d714586 |
children | 7a89cb124e81 |
files | libvo/vo_vesa.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_vesa.c Fri Oct 19 15:21:36 2001 +0000 +++ b/libvo/vo_vesa.c Fri Oct 19 15:23:18 2001 +0000 @@ -251,8 +251,8 @@ uint32_t retval; switch(format) { -#if 0 case IMGFMT_YV12: +#if 0 /* Should be tested better */ case IMGFMT_I420: case IMGFMT_IYUV: #endif @@ -355,8 +355,8 @@ case IMGFMT_RGB15: bpp = 15; break; case IMGFMT_YV12: case IMGFMT_I420: - case IMGFMT_IYUV: - yuv2rgb_init(video_mode_info.BitsPerPixel, MODE_RGB); + case IMGFMT_IYUV: bpp=16; + yuv2rgb_init(bpp, MODE_RGB); default: case IMGFMT_BGR16: case IMGFMT_RGB16: bpp = 16; break;