Mercurial > libavformat.hg
changeset 5423:beac179b6765 libavformat
Also print the number of invalid packets in the debug output.
author | michael |
---|---|
date | Tue, 08 Dec 2009 12:24:41 +0000 |
parents | 3e5fefc4b475 |
children | 8dd3cb8e01c7 |
files | mpeg.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mpeg.c Tue Dec 08 12:19:30 2009 +0000 +++ b/mpeg.c Tue Dec 08 12:24:41 2009 +0000 @@ -76,7 +76,7 @@ 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)