aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-14 23:09:21 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-06-14 23:09:21 +0200
commit378ad224923128223a44795da0b838366f1db766 (patch)
tree12e5170ed34fdc067a7a63f3b43874e14e9c1a51 /ffmpeg.c
parentd82ecfce07d1fee314b5532b773ef019eefed9b6 (diff)
downloadffmpeg-378ad224923128223a44795da0b838366f1db766.tar.gz
ffmpeg: print values of mismatching has_b_frames
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 14b4f21770..6338a686c3 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1888,7 +1888,9 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
// or the parser does not has_b_frames correctly
// ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames;
if (ist->st->codec->has_b_frames < ist->dec_ctx->has_b_frames) {
- av_log_ask_for_sample(ist->dec_ctx, "has_b_frames is larger in decoder than demuxer");
+ av_log_ask_for_sample(ist->dec_ctx, "has_b_frames is larger in decoder than demuxer %d > %d ",
+ ist->dec_ctx->has_b_frames, ist->st->codec->has_b_frames
+ );
}
if (*got_output || ret<0 || pkt->size)