OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f1d5a1f
)
vfwcap: support MJPG compressed streams.
author
Nash Tsai
<nash.tsai@gmail.com>
Tue, 23 Feb 2010 16:49:16 +0000
(16:49 +0000)
committer
Ramiro Polla
<ramiro.polla@gmail.com>
Tue, 23 Feb 2010 16:49:16 +0000
(16:49 +0000)
Patch by Nash Tsai <nash dot tsai at gmail dot com>
Originally committed as revision 22004 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavdevice/vfwcap.c
patch
|
blob
|
history
diff --git
a/libavdevice/vfwcap.c
b/libavdevice/vfwcap.c
index
4d07664
..
bd7290f
100644
(file)
--- a/
libavdevice/vfwcap.c
+++ b/
libavdevice/vfwcap.c
@@
-74,6
+74,9
@@
static enum CodecID vfw_codecid(DWORD biCompression)
switch(biCompression) {
case MKTAG('d', 'v', 's', 'd'):
return CODEC_ID_DVVIDEO;
+ case MKTAG('M', 'J', 'P', 'G'):
+ case MKTAG('m', 'j', 'p', 'g'):
+ return CODEC_ID_MJPEG;
}
return CODEC_ID_NONE;
}