[FFmpeg-cvslog] avcodec/vc1dec: print debug message if a b frame without reference is skiped
Michael Niedermayer
git at videolan.org
Sat Apr 26 01:56:06 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Apr 26 01:41:31 2014 +0200| [3ba77ea369a059b5939f7e4b2466a1b4b526edbd] | committer: Michael Niedermayer
avcodec/vc1dec: print debug message if a b frame without reference is skiped
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3ba77ea369a059b5939f7e4b2466a1b4b526edbd
---
libavcodec/vc1dec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index 978327c..ec35568 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -5997,6 +5997,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
/* skip B-frames if we don't have reference frames */
if (s->last_picture_ptr == NULL && (s->pict_type == AV_PICTURE_TYPE_B || s->droppable)) {
+ av_log(v->s.avctx, AV_LOG_DEBUG, "Skiping B frame without reference frames\n");
goto end;
}
if ((avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type == AV_PICTURE_TYPE_B) ||
More information about the ffmpeg-cvslog
mailing list