Commit 46205a72 authored by Maksim Shabunin's avatar Maksim Shabunin Committed by Alexander Alekhin

videoio: fix GStreamer plugin build

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