Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
802fcc57
Commit
802fcc57
authored
Jun 16, 2011
by
Andrey Morozov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed "bitrate tolerance too small for bitrate"
parent
b138dbde
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
cap_ffmpeg.cpp
modules/highgui/src/cap_ffmpeg.cpp
+2
-0
No files found.
modules/highgui/src/cap_ffmpeg.cpp
View file @
802fcc57
...
@@ -1307,6 +1307,8 @@ bool CvVideoWriter_FFMPEG::open( const char * filename, int fourcc,
...
@@ -1307,6 +1307,8 @@ bool CvVideoWriter_FFMPEG::open( const char * filename, int fourcc,
CV_Error
(
CV_StsBadArg
,
"codec not found"
);
CV_Error
(
CV_StsBadArg
,
"codec not found"
);
}
}
c
->
bit_rate_tolerance
=
c
->
bit_rate
;
/* open the codec */
/* open the codec */
if
(
(
err
=
avcodec_open
(
c
,
codec
))
<
0
)
{
if
(
(
err
=
avcodec_open
(
c
,
codec
))
<
0
)
{
char
errtext
[
256
];
char
errtext
[
256
];
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment