Skip to content
Snippets Groups Projects
Commit d7a4961e authored by Nash Tsai's avatar Nash Tsai Committed by Ramiro Polla
Browse files

vfwcap: support MJPG compressed streams.

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

Originally committed as revision 22004 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent f1d5a1f2
No related branches found
No related tags found
No related merge requests found
...@@ -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;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment