Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-05-30 04:57:20 +0300
committerMichael Niedermayer <michaelni@gmx.at>2015-05-30 04:57:20 +0300
commitaa9c6b6986eac8a44d7828a8653d4d015384b7da (patch)
treeece3e740b2d2cf1d2d2d84a4fbc8a0cf80bbd825 /libavformat/h264dec.c
parentdae89802a6eeae89519334d78cf2a79da4060273 (diff)
avformat/h264dec: Add ff_tlog() with trace information about h264 probing
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/h264dec.c')
-rw-r--r--libavformat/h264dec.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/h264dec.c b/libavformat/h264dec.c
index 4adc234a41..d1d37ca88a 100644
--- a/libavformat/h264dec.c
+++ b/libavformat/h264dec.c
@@ -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