From 46205a72355ef210ec3a9483b3bb3bb0f41fd803 Mon Sep 17 00:00:00 2001 From: Maksim Shabunin Date: Fri, 21 Jun 2019 17:47:31 +0300 Subject: [PATCH] videoio: fix GStreamer plugin build --- modules/videoio/src/cap_gstreamer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/videoio/src/cap_gstreamer.cpp b/modules/videoio/src/cap_gstreamer.cpp index 7b3236f1e9..79515d5df6 100644 --- a/modules/videoio/src/cap_gstreamer.cpp +++ b/modules/videoio/src/cap_gstreamer.cpp @@ -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)