mirror of
https://github.com/opencv/opencv.git
synced 2024-11-27 04:36:36 +08:00
avoid use of OpenCV functions (like cvRound) in cap_ffmpeg_impl*.hpp
This commit is contained in:
parent
12d42768f8
commit
38befe3336
@ -1416,7 +1416,7 @@ void CvVideoWriter_FFMPEG::close()
|
||||
|
||||
// TODO -- safe to ignore output audio stream?
|
||||
video_st = icv_add_video_stream_FFMPEG(oc, codec_id,
|
||||
width, height, cvRound(bitrate),
|
||||
width, height, (int)(bitrate + 0.5),
|
||||
fps, codec_pix_fmt);
|
||||
|
||||
/* set the output parameters (must be done even if no
|
||||
|
Loading…
Reference in New Issue
Block a user