[MPlayer-cvslog] r25079 - trunk/stream/tvi_dshow.c
voroshil
subversion at mplayerhq.hu
Sat Nov 17 20:08:03 CET 2007
Author: voroshil
Date: Sat Nov 17 20:08:03 2007
New Revision: 25079
Log:
Fix bogus bits per pixel values in lookup table.
Modified:
trunk/stream/tvi_dshow.c
Modified: trunk/stream/tvi_dshow.c
==============================================================================
--- trunk/stream/tvi_dshow.c (original)
+++ trunk/stream/tvi_dshow.c Sat Nov 17 20:08:03 2007
@@ -310,13 +310,13 @@ static const struct {
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},
More information about the MPlayer-cvslog
mailing list