Mercurial > mplayer.hg
changeset 25051:ae7926711cd2
Fix bogus bits per pixel values in lookup table.
author | voroshil |
---|---|
date | Sat, 17 Nov 2007 19:08:03 +0000 |
parents | 64d8dec106a5 |
children | 7b2b17b57cf7 |
files | stream/tvi_dshow.c |
diffstat | 1 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/stream/tvi_dshow.c Sat Nov 17 19:07:04 2007 +0000 +++ b/stream/tvi_dshow.c Sat Nov 17 19:08:03 2007 +0000 @@ -310,13 +310,13 @@ array, contains information about various supported (i hope) image formats */ static const img_fmt img_fmt_list[] = { - {IMGFMT_YUY2, &MEDIASUBTYPE_YUY2, 0, IMGFMT_YUY2, 0}, - {IMGFMT_YV12, &MEDIASUBTYPE_YV12, 0, IMGFMT_YV12, 0}, - {IMGFMT_IYUV, &MEDIASUBTYPE_IYUV, 0, IMGFMT_IYUV, 0}, - {IMGFMT_I420, &MEDIASUBTYPE_I420, 0, IMGFMT_I420, 0}, - {IMGFMT_UYVY, &MEDIASUBTYPE_UYVY, 0, IMGFMT_UYVY, 0}, - {IMGFMT_YVYU, &MEDIASUBTYPE_YVYU, 0, IMGFMT_YVYU, 0}, - {IMGFMT_YVU9, &MEDIASUBTYPE_YVU9, 0, IMGFMT_YVU9, 0}, + {IMGFMT_YUY2, &MEDIASUBTYPE_YUY2, 16, IMGFMT_YUY2, 0}, + {IMGFMT_YV12, &MEDIASUBTYPE_YV12, 12, IMGFMT_YV12, 0}, + {IMGFMT_IYUV, &MEDIASUBTYPE_IYUV, 12, IMGFMT_IYUV, 0}, + {IMGFMT_I420, &MEDIASUBTYPE_I420, 12, IMGFMT_I420, 0}, + {IMGFMT_UYVY, &MEDIASUBTYPE_UYVY, 16, IMGFMT_UYVY, 0}, + {IMGFMT_YVYU, &MEDIASUBTYPE_YVYU, 16, IMGFMT_YVYU, 0}, + {IMGFMT_YVU9, &MEDIASUBTYPE_YVU9, 9, IMGFMT_YVU9, 0}, {IMGFMT_BGR32, &MEDIASUBTYPE_RGB32, 32, 0, 0}, {IMGFMT_BGR24, &MEDIASUBTYPE_RGB24, 24, 0, 0}, {IMGFMT_BGR16, &MEDIASUBTYPE_RGB565, 16, 3, 12},