Commit 36821329 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3806 from enpe:master

parents 192e630c ee55e459
...@@ -574,7 +574,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename ) ...@@ -574,7 +574,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename )
return false; return false;
} }
g_object_unref(G_OBJECT(testfac)); g_object_unref(G_OBJECT(testfac));
filename = "v4lsrc ! "COLOR_ELEM" ! appsink"; filename = "v4lsrc ! " COLOR_ELEM " ! appsink";
} }
if (type == CV_CAP_GSTREAMER_V4L2){ if (type == CV_CAP_GSTREAMER_V4L2){
testfac = gst_element_factory_find("v4l2src"); testfac = gst_element_factory_find("v4l2src");
...@@ -582,7 +582,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename ) ...@@ -582,7 +582,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename )
return false; return false;
} }
g_object_unref(G_OBJECT(testfac)); g_object_unref(G_OBJECT(testfac));
filename = "v4l2src ! "COLOR_ELEM" ! appsink"; filename = "v4l2src ! " COLOR_ELEM " ! appsink";
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment