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

ramiro subversion
Wed Mar 10 06:25:07 CET 2010


Author: ramiro
Date: Wed Mar 10 06:25:06 2010
New Revision: 22424

Log:
vfwcap: Add support for UYVY pixel format.

Modified:
   trunk/libavdevice/vfwcap.c

Modified: trunk/libavdevice/vfwcap.c
==============================================================================
--- trunk/libavdevice/vfwcap.c	Wed Mar 10 04:10:26 2010	(r22423)
+++ trunk/libavdevice/vfwcap.c	Wed Mar 10 06:25:06 2010	(r22424)
@@ -46,6 +46,8 @@ struct vfw_ctx {
 static enum PixelFormat vfw_pixfmt(DWORD biCompression, WORD biBitCount)
 {
     switch(biCompression) {
+    case MKTAG('U', 'Y', 'V', 'Y'):
+        return PIX_FMT_UYVY422;
     case MKTAG('Y', 'U', 'Y', '2'):
         return PIX_FMT_YUYV422;
     case MKTAG('I', '4', '2', '0'):



More information about the ffmpeg-cvslog mailing list