1
0
mirror of https://github.com/opencv/opencv_contrib.git synced 2025-10-18 00:01:17 +08:00

Merge pull request #3052 from kuloPo-com:fix-cudacodec-perf_video.cpp

This commit is contained in:
Alexander Alekhin
2021-10-04 16:55:03 +00:00

View File

@@ -140,7 +140,7 @@ PERF_TEST_P(FileName, VideoWriter, VIDEO_SRC)
ASSERT_FALSE(frame.empty());
if (!writer.isOpened())
writer.open(outputFile, CV_FOURCC('X', 'V', 'I', 'D'), FPS, frame.size());
writer.open(outputFile, VideoWriter::fourcc('X', 'V', 'I', 'D'), FPS, frame.size());
startTimer(); next();
writer.write(frame);