diff options
author | Ramiro Polla | 2010-03-10 05:25:06 +0000 |
---|---|---|
committer | Ramiro Polla | 2010-03-10 05:25:06 +0000 |
commit | e24080f00ea9011901fb0fe48908560565fed832 (patch) | |
tree | 6cd6245279342e49a4b20b44f65dbf9a40bf18f9 /libavdevice/vfwcap.c | |
parent | 0853a2b47e3b71eca450821fff0d7b18f2934607 (diff) |
vfwcap: Add support for UYVY pixel format.
Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice/vfwcap.c')
-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 bd7290fe96..91714571cd 100644 --- a/libavdevice/vfwcap.c +++ b/libavdevice/vfwcap.c @@ -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'): |