1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-29 15:23:05 +04:00

videoio: fix camera opening with GStreamer plugin

This commit is contained in:
Maksim Shabunin
2023-08-10 11:39:29 +03:00
parent f834736307
commit 53dfd9536a
-2
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
{