ffmpeg | branch: master | Paul B Mahol <one...@gmail.com> | Sun Sep 18 18:21:29 2016 +0200| [6216b4780b16c0994e0ee4bcd1f354f35f674856] | committer: Paul B Mahol
avcodec/sheervideo: print internal format in debug log Signed-off-by: Paul B Mahol <one...@gmail.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6216b4780b16c0994e0ee4bcd1f354f35f674856 --- libavcodec/sheervideo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libavcodec/sheervideo.c b/libavcodec/sheervideo.c index be14e71..f8490c9 100644 --- a/libavcodec/sheervideo.c +++ b/libavcodec/sheervideo.c @@ -2879,6 +2879,7 @@ static int decode_frame(AVCodecContext *avctx, AVFrame *p = data; GetBitContext gb; unsigned format; + char format_str[16]; int ret; if (avpkt->size <= 20) @@ -2890,6 +2891,8 @@ static int decode_frame(AVCodecContext *avctx, s->alt = 0; format = AV_RL32(avpkt->data + 16); + av_get_codec_tag_string(format_str, sizeof(format_str), format); + av_log(avctx, AV_LOG_DEBUG, "format: %s\n", format_str); switch (format) { case MKTAG(' ', 'R', 'G', 'B'): avctx->pix_fmt = AV_PIX_FMT_RGB0; _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog