Commit 62cdf5a5 authored by ramiro's avatar ramiro

vfwcap: support MJPG compressed streams.

Patch by Nash Tsai <nash dot tsai at gmail dot com>

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22004 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 20436fbe
...@@ -74,6 +74,9 @@ static enum CodecID vfw_codecid(DWORD biCompression) ...@@ -74,6 +74,9 @@ static enum CodecID vfw_codecid(DWORD biCompression)
switch(biCompression) { switch(biCompression) {
case MKTAG('d', 'v', 's', 'd'): case MKTAG('d', 'v', 's', 'd'):
return CODEC_ID_DVVIDEO; return CODEC_ID_DVVIDEO;
case MKTAG('M', 'J', 'P', 'G'):
case MKTAG('m', 'j', 'p', 'g'):
return CODEC_ID_MJPEG;
} }
return CODEC_ID_NONE; return CODEC_ID_NONE;
} }
......
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