Commit f4ca2c8e authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #14874 from alalek:videoio_fix_gstreamer_plugin_build

parents 974491f9 46205a72
......@@ -1769,7 +1769,7 @@ CvResult CV_API_CALL cv_capture_open(const char* filename, int camera_index, CV_
cap = new GStreamerCapture();
bool res;
if (filename)
res = cap->open(string(filename));
res = cap->open(std::string(filename));
else
res = cap->open(camera_index);
if (res)
......
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