Commit 405227d5 authored by Roman Donchenko's avatar Roman Donchenko

Replaced the image used in the Highgui_Video.ffmpeg_image test.

Our prebuilt FFmpeg Windows binaries don't have PNG support enabled
(because that requires zlib), so that makes a PNG image a bad choice
for this test.

When FFmpeg doesn't support PNG, VideoCapture falls back to the
"image sequence" implementation, which doesn't work for single images.
parent e4dee5b3
...@@ -154,7 +154,7 @@ public: ...@@ -154,7 +154,7 @@ public:
{ {
try try
{ {
string filename = ts->get_data_path() + "../cv/features2d/tsukuba.png"; string filename = ts->get_data_path() + "readwrite/ordinary.bmp";
VideoCapture cap(filename); VideoCapture cap(filename);
Mat img0 = imread(filename, 1); Mat img0 = imread(filename, 1);
Mat img, img_next; Mat img, img_next;
......
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