videoio(test): dump file size information

pull/12572/head
Alexander Alekhin 7 years ago
parent 8b661cde15
commit 699565828d
  1. 2
      modules/videoio/test/test_ffmpeg.cpp

@ -164,6 +164,8 @@ public:
} }
else 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) if (sz < 8192)
{ {
fprintf(stderr, "ERROR: File name: %s is very small (data write problems?)\n", filename.c_str()); fprintf(stderr, "ERROR: File name: %s is very small (data write problems?)\n", filename.c_str());

Loading…
Cancel
Save