diff options
author | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-19 15:23:18 +0000 |
---|---|---|
committer | nick <nick@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-10-19 15:23:18 +0000 |
commit | 1159e4e5d1bbbec7e58e2547c64a7903fd1e3622 (patch) | |
tree | 3b5bdf491bb58a4f3efc77d5b5af0592065e6f97 /libvo | |
parent | d59d26f1ea5250011ec3684cad7b9f7be31f41a3 (diff) | |
download | mpv-1159e4e5d1bbbec7e58e2547c64a7903fd1e3622.tar.bz2 mpv-1159e4e5d1bbbec7e58e2547c64a7903fd1e3622.tar.xz |
Initial YUV (YV12) support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2297 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r-- | libvo/vo_vesa.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_vesa.c b/libvo/vo_vesa.c index 9bbde0b5cb..aef97d69ef 100644 --- a/libvo/vo_vesa.c +++ b/libvo/vo_vesa.c @@ -251,8 +251,8 @@ static uint32_t query_format(uint32_t format) 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 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3 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; |