videoio(test): dump file size information

This commit is contained in:
Alexander Alekhin 2018-09-18 07:58:52 +00:00
parent 8b661cde15
commit 699565828d

View File

@ -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());