[FFmpeg-cvslog] Print pix_fmt name on h264 context reinitialisation.
Carl Eugen Hoyos
git at videolan.org
Thu Oct 3 02:42:41 CEST 2013
ffmpeg | branch: master | Carl Eugen Hoyos <cehoyos at ag.or.at> | Thu Oct 3 01:42:23 2013 +0200| [b5f219c904b9b17c35c5c5aee3384586cb6302a8] | committer: Carl Eugen Hoyos
Print pix_fmt name on h264 context reinitialisation.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b5f219c904b9b17c35c5c5aee3384586cb6302a8
---
libavcodec/h264.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index f2ee328..cda26d6 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -3473,7 +3473,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
h->avctx->pix_fmt = ret;
av_log(h->avctx, AV_LOG_INFO, "Reinit context to %dx%d, "
- "pix_fmt: %d\n", h->width, h->height, h->avctx->pix_fmt);
+ "pix_fmt: %s\n", h->width, h->height, av_get_pix_fmt_name(h->avctx->pix_fmt));
if ((ret = h264_slice_header_init(h, 1)) < 0) {
av_log(h->avctx, AV_LOG_ERROR,
More information about the ffmpeg-cvslog
mailing list