diff --git a/modules/superres/src/frame_source.cpp b/modules/superres/src/frame_source.cpp index 5f59a98b80..c5b2e7634c 100644 --- a/modules/superres/src/frame_source.cpp +++ b/modules/superres/src/frame_source.cpp @@ -260,7 +260,7 @@ namespace Ptr cv::superres::createFrameSource_Video_GPU(const string& fileName) { - return new VideoFrameSource(fileName); + return new VideoFrameSource_GPU(fileName); } #endif // HAVE_OPENCV_GPU