[SCM] libav/experimental: vfwcap: Add support for UYVY pixel format.
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:04:00 UTC 2013
The following commit has been merged in the experimental branch:
commit e24080f00ea9011901fb0fe48908560565fed832
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date: Wed Mar 10 05:25:06 2010 +0000
vfwcap: Add support for UYVY pixel format.
Originally committed as revision 22424 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavdevice/vfwcap.c b/libavdevice/vfwcap.c
index bd7290f..9171457 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'):
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list