projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec97683
)
use original image type (8-bit grayscale or 24-bit RGB) in the case of RAW video...
author
Vadim Pisarevsky
<no@email>
Sun, 19 Jun 2011 22:23:59 +0000
(22:23 +0000)
committer
Vadim Pisarevsky
<no@email>
Sun, 19 Jun 2011 22:23:59 +0000
(22:23 +0000)
modules/highgui/src/cap_ffmpeg.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/cap_ffmpeg.cpp
b/modules/highgui/src/cap_ffmpeg.cpp
index
69614d9
..
2653bad
100644
(file)
--- a/
modules/highgui/src/cap_ffmpeg.cpp
+++ b/
modules/highgui/src/cap_ffmpeg.cpp
@@
-1270,6
+1270,8
@@
bool CvVideoWriter_FFMPEG::open( const char * filename, int fourcc,
bitrate_scale = 128;
break;
case CODEC_ID_RAWVIDEO:
+ codec_pix_fmt = input_pix_fmt;
+ break;
default:
// good for lossy formats, MPEG, etc.
codec_pix_fmt = PIX_FMT_YUV420P;