Browse Source

Support biCompression I420

Originally committed as revision 12821 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Ramiro Polla 18 years ago
parent
commit
23ef6da836
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavdevice/vfwcap.c

+ 2
- 0
libavdevice/vfwcap.c View File

@@ -96,6 +96,8 @@ static enum PixelFormat vfw_pixfmt(DWORD biCompression, WORD biBitCount)
switch(biCompression) {
case MKTAG('Y', 'U', 'Y', '2'):
return PIX_FMT_YUYV422;
case MKTAG('I', '4', '2', '0'):
return PIX_FMT_YUV420P;
case BI_RGB:
switch(biBitCount) { /* 1-8 are untested */
case 1:


Loading…
Cancel
Save