diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-10 01:47:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-10 01:47:03 +0200 |
commit | 6a78ec180eb963a1b8b5911f8620ae1bb14a1a05 (patch) | |
tree | 86d695913ecaff1c1a9a5ea82295c77fc67f6856 | |
parent | eedcac68f31ca8d6784bb77ed5c471f04eb2301e (diff) | |
download | ffmpeg-6a78ec180eb963a1b8b5911f8620ae1bb14a1a05.tar.gz |
ffmpeg: print frame decoding error statistic
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3361,6 +3361,8 @@ int main(int argc, char **argv) if (do_benchmark) { printf("bench: utime=%0.3fs\n", ti / 1000000.0); } + av_log(NULL, AV_LOG_DEBUG, "%"PRIu64" frames successfully decoded, %"PRIu64" decoding errors\n", + decode_error_stat[0], decode_error_stat[1]); if (2*decode_error_stat[0] < decode_error_stat[1]) exit(254); |