mirror of
https://github.com/opencv/opencv.git
synced 2025-08-06 14:36:36 +08:00
videoio: fix camera opening with GStreamer plugin
This commit is contained in:
parent
f834736307
commit
53dfd9536a
@ -2825,8 +2825,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;
|
|
||||||
GStreamerCapture *cap = 0;
|
GStreamerCapture *cap = 0;
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user