Commit aa9c6b69 authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/h264dec: Add ff_tlog() with trace information about h264 probing

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent dae89802
......@@ -21,6 +21,7 @@
#include "avformat.h"
#include "rawdec.h"
#include "libavcodec/internal.h"
static int h264_probe(AVProbeData *p)
{
......@@ -70,6 +71,7 @@ static int h264_probe(AVProbeData *p)
}
}
}
ff_tlog(NULL, "sps:%d pps:%d idr:%d sli:%d res:%d\n", sps, pps, idr, sli, res);
if (sps && pps && (idr || sli > 3) && res < (sps + pps + idr))
return AVPROBE_SCORE_EXTENSION + 1; // 1 more than .mpg
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment