diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-12-08 12:24:41 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-12-08 12:24:41 +0000 |
commit | 6de5b627905134486438c033dde16537219ea898 (patch) | |
tree | 7a45b8db0bb23d1fc9e745d281de38b9a8a15cac /libavformat/mpeg.c | |
parent | 55f65247897d251fc381c4ac7dbd991df56f8dd8 (diff) | |
download | ffmpeg-6de5b627905134486438c033dde16537219ea898.tar.gz |
Also print the number of invalid packets in the debug output.
Originally committed as revision 20763 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r-- | libavformat/mpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index 817fe12cd1..c5afa1d1cb 100644 --- a/libavformat/mpeg.c +++ b/libavformat/mpeg.c @@ -76,7 +76,7 @@ static int mpegps_probe(AVProbeData *p) if(vid+audio > invalid) /* invalid VDR files nd short PES streams */ score= AVPROBE_SCORE_MAX/4; -//av_log(NULL, AV_LOG_ERROR, "%d %d %d %d %d len:%d\n", sys, priv1, pspack,vid, audio, p->buf_size); +//av_log(NULL, AV_LOG_ERROR, "%d %d %d %d %d %d len:%d\n", sys, priv1, pspack,vid, audio, invalid, p->buf_size); if(sys>invalid && sys*9 <= pspack*10) return pspack > 2 ? AVPROBE_SCORE_MAX/2+2 : AVPROBE_SCORE_MAX/4; // +1 for .mpg if(pspack > invalid && (priv1+vid+audio)*10 >= pspack*9) |