mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
This commit is contained in:
parent
f1d5a1f285
commit
d7a4961e53
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user