diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2008-04-14 15:41:10 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2008-04-14 15:41:10 +0000 |
commit | 23ef6da8366a3309a61379a651c1aabbb9148a6e (patch) | |
tree | 425d1cf4ac9feeda8370f07fbe7076f986f764d6 /libavdevice | |
parent | e4d286f1c7df3c0920175da0ce3e90a71e4e4859 (diff) | |
download | ffmpeg-23ef6da8366a3309a61379a651c1aabbb9148a6e.tar.gz |
Support biCompression I420
Originally committed as revision 12821 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-rw-r--r-- | libavdevice/vfwcap.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c index 5bf94c03ae..904b4c8fa0 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -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: |