mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +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)
|
if (!handle)
|
||||||
return CV_ERROR_FAIL;
|
return CV_ERROR_FAIL;
|
||||||
*handle = NULL;
|
*handle = NULL;
|
||||||
if (!filename)
|
|
||||||
return CV_ERROR_FAIL;
|
|
||||||
CaptureT* cap = 0;
|
CaptureT* cap = 0;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user