Commit 378ad224 authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: print values of mismatching has_b_frames

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent d82ecfce
......@@ -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)
......
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