Merge pull request #24138 from mshabunin:fix-gst-plugin-camera

This commit is contained in:
Alexander Alekhin 2023-08-13 19:47:21 +00:00
commit 27d718b223

View File

@ -2825,8 +2825,6 @@ CvResult CV_API_CALL cv_capture_open_with_params(
if (!handle)
return CV_ERROR_FAIL;
*handle = NULL;
if (!filename)
return CV_ERROR_FAIL;
GStreamerCapture *cap = 0;
try
{