projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4d286f
)
Support biCompression I420
author
Ramiro Polla
<ramiro.polla@gmail.com>
Mon, 14 Apr 2008 15:41:10 +0000
(15:41 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Mon, 14 Apr 2008 15:41:10 +0000
(15:41 +0000)
Originally committed as revision 12821 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavdevice/vfwcap.c
patch
|
blob
|
blame
|
history
diff --git
a/libavdevice/vfwcap.c
b/libavdevice/vfwcap.c
index
5bf94c0
..
904b4c8
100644
(file)
--- 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: