Commit 69956582 authored by Alexander Alekhin's avatar Alexander Alekhin

videoio(test): dump file size information

parent 8b661cde
......@@ -164,6 +164,8 @@ public:
}
else
{
printf("Case: '%s' (frame size %dx%d fps=%g). FileSize=%lld bytes\n",
s.c_str(), frame_s.width, frame_s.height, fps, (long long int)sz);
if (sz < 8192)
{
fprintf(stderr, "ERROR: File name: %s is very small (data write problems?)\n", filename.c_str());
......
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