File tree Expand file tree Collapse file tree 2 files changed +209
-79
lines changed Expand file tree Collapse file tree 2 files changed +209
-79
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments