mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 03:00:14 +08:00
Merge pull request #24133 from alexlyulkov:al/fixed-msmf-webcam
Fixed bug when MSMF webcamera doesn't start when build with VIDEOIO_PLUGIN_ALL
This commit is contained in:
commit
3421b950ce
@ -2719,8 +2719,6 @@ CvResult CV_API_CALL cv_capture_open_with_params(
|
||||
if (!handle)
|
||||
return CV_ERROR_FAIL;
|
||||
*handle = NULL;
|
||||
if (!filename)
|
||||
return CV_ERROR_FAIL;
|
||||
CaptureT* cap = 0;
|
||||
try
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user