Skip to content

Commit

Permalink
videoio(test): dump file size information
Browse files Browse the repository at this point in the history
  • Loading branch information
alalek committed Sep 18, 2018
1 parent 8b661cd commit 6995658
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/videoio/test/test_ffmpeg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,8 @@ class CV_FFmpegWriteBigVideoTest : public cvtest::BaseTest
}
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());
Expand Down

0 comments on commit 6995658

Please sign in to comment.