From 4a12707103f09b503bbe4f0332fe0fb96561dc0d Mon Sep 17 00:00:00 2001 From: Alexander Lyulkov Date: Wed, 9 Aug 2023 18:43:49 +0800 Subject: [PATCH] Fixed bug when MSMF webcamera doesn't start when build with VIDEOIO_PLUGIN_ALL --- modules/videoio/src/cap_msmf.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/videoio/src/cap_msmf.cpp b/modules/videoio/src/cap_msmf.cpp index 78eefc34a3..a55f919ed1 100644 --- a/modules/videoio/src/cap_msmf.cpp +++ b/modules/videoio/src/cap_msmf.cpp @@ -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 {