[FFmpeg-cvslog] ffmpeg: print values of mismatching has_b_frames

Michael Niedermayer git at videolan.org
Sat Jun 14 23:33:56 CEST 2014


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jun 14 23:09:21 2014 +0200| [378ad224923128223a44795da0b838366f1db766] | committer: Michael Niedermayer

ffmpeg: print values of mismatching has_b_frames

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=378ad224923128223a44795da0b838366f1db766
---

 ffmpeg.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ffmpeg.c b/ffmpeg.c
index 14b4f21..6338a68 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)



More information about the ffmpeg-cvslog mailing list