[FFmpeg-cvslog] r12821 - trunk/libavdevice/vfwcap.c

ramiro subversion
Mon Apr 14 17:41:10 CEST 2008


Author: ramiro
Date: Mon Apr 14 17:41:10 2008
New Revision: 12821

Log:
Support biCompression I420

Modified:
   trunk/libavdevice/vfwcap.c

Modified: trunk/libavdevice/vfwcap.c
==============================================================================
--- trunk/libavdevice/vfwcap.c	(original)
+++ trunk/libavdevice/vfwcap.c	Mon Apr 14 17:41:10 2008
@@ -96,6 +96,8 @@ static enum PixelFormat vfw_pixfmt(DWORD
     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:




More information about the ffmpeg-cvslog mailing list