Commit 8908a1b0 authored by ramiro's avatar ramiro

Support biCompression I420

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12821 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b3b5a145
...@@ -96,6 +96,8 @@ static enum PixelFormat vfw_pixfmt(DWORD biCompression, WORD biBitCount) ...@@ -96,6 +96,8 @@ static enum PixelFormat vfw_pixfmt(DWORD biCompression, WORD biBitCount)
switch(biCompression) { switch(biCompression) {
case MKTAG('Y', 'U', 'Y', '2'): case MKTAG('Y', 'U', 'Y', '2'):
return PIX_FMT_YUYV422; return PIX_FMT_YUYV422;
case MKTAG('I', '4', '2', '0'):
return PIX_FMT_YUV420P;
case BI_RGB: case BI_RGB:
switch(biBitCount) { /* 1-8 are untested */ switch(biBitCount) { /* 1-8 are untested */
case 1: case 1:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment