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:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user