Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-03-10 08:25:06 +0300
committerRamiro Polla <ramiro.polla@gmail.com>2010-03-10 08:25:06 +0300
commite24080f00ea9011901fb0fe48908560565fed832 (patch)
tree6cd6245279342e49a4b20b44f65dbf9a40bf18f9 /libavdevice
parent0853a2b47e3b71eca450821fff0d7b18f2934607 (diff)
vfwcap: Add support for UYVY pixel format.
Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavdevice')
-rw-r--r--libavdevice/vfwcap.c2
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'):