1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

ffmpeg: print values of mismatching has_b_frames

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer
2014-06-14 23:09:21 +02:00
parent d82ecfce07
commit 378ad22492

View File

@@ -1888,7 +1888,9 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
// or the parser does not has_b_frames correctly // or the parser does not has_b_frames correctly
// ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames; // 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) { 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) if (*got_output || ret<0 || pkt->size)