Commit fbd28830 authored by ramiro's avatar ramiro

vfwcap: Add support for UYVY pixel format.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22424 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 73911b0d
......@@ -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'):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment