mirror of
https://github.com/opencv/opencv.git
synced 2026-12-05 14:35:09 -06:00
fixed compilation errors
This commit is contained in:
@@ -108,7 +108,7 @@ cv::gpu::detail::FFmpegVideoSource::FFmpegVideoSource(const String& fname) :
|
||||
|
||||
stream_ = create_InputMediaStream_FFMPEG_p(fname.c_str(), &codec, &chroma_format, &width, &height);
|
||||
if (!stream_)
|
||||
CV_Error(CV_StsUnsupportedFormat, "Unsupported video source");
|
||||
CV_Error(cv::Error::StsUnsupportedFormat, "Unsupported video source");
|
||||
|
||||
format_.codec = static_cast<VideoReader_GPU::Codec>(codec);
|
||||
format_.chromaFormat = static_cast<VideoReader_GPU::ChromaFormat>(chroma_format);
|
||||
|
||||
Reference in New Issue
Block a user