projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b138dbd
)
fixed "bitrate tolerance too small for bitrate"
author
Andrey Morozov
<no@email>
Thu, 16 Jun 2011 08:31:08 +0000
(08:31 +0000)
committer
Andrey Morozov
<no@email>
Thu, 16 Jun 2011 08:31:08 +0000
(08:31 +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
ee59ae1
..
f58eeb6
100644
(file)
--- a/
modules/highgui/src/cap_ffmpeg.cpp
+++ b/
modules/highgui/src/cap_ffmpeg.cpp
@@
-1307,6
+1307,8
@@
bool CvVideoWriter_FFMPEG::open( const char * filename, int fourcc,
CV_Error(CV_StsBadArg, "codec not found");
}
+ c->bit_rate_tolerance = c->bit_rate;
+
/* open the codec */
if ( (err=avcodec_open(c, codec)) < 0) {
char errtext[256];