Skip to content

Commit 27edba4

Browse files
committed
Merge pull request opencv#16246 from VadimLevin:dev/vlevin/videoio_classes_cleanup
2 parents 0d456f9 + 3fe9dfa commit 27edba4

File tree

2 files changed

+209
-79
lines changed

2 files changed

+209
-79
lines changed

modules/videoio/include/opencv2/videoio.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ class CV_EXPORTS_W VideoCapture
638638
implementation if multiple are available: e.g. cv::CAP_FFMPEG or cv::CAP_IMAGES or cv::CAP_DSHOW.
639639
@sa The list of supported API backends cv::VideoCaptureAPIs
640640
*/
641-
CV_WRAP VideoCapture(const String& filename, int apiPreference = CAP_ANY);
641+
CV_WRAP explicit VideoCapture(const String& filename, int apiPreference = CAP_ANY);
642642

643643
/** @overload
644644
@brief Opens a camera for video capturing
@@ -650,7 +650,7 @@ class CV_EXPORTS_W VideoCapture
650650
651651
@sa The list of supported API backends cv::VideoCaptureAPIs
652652
*/
653-
CV_WRAP VideoCapture(int index, int apiPreference = CAP_ANY);
653+
CV_WRAP explicit VideoCapture(int index, int apiPreference = CAP_ANY);
654654

655655
/** @brief Default destructor
656656

0 commit comments

Comments
 (0)