[FFmpeg-cvslog] avcodec/hevc_ps: Also print depth in failure path of map_pixel_format()
Michael Niedermayer
git at videolan.org
Sat Jul 18 05:23:29 CEST 2015
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Sat Jul 18 05:12:00 2015 +0200| [f8e4d37983f842154b33a1f9e1352cb580d5af10] | committer: Michael Niedermayer
avcodec/hevc_ps: Also print depth in failure path of map_pixel_format()
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f8e4d37983f842154b33a1f9e1352cb580d5af10
---
libavcodec/hevc_ps.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/hevc_ps.c b/libavcodec/hevc_ps.c
index 8d30d5b..016dec0 100644
--- a/libavcodec/hevc_ps.c
+++ b/libavcodec/hevc_ps.c
@@ -774,8 +774,8 @@ static int map_pixel_format(AVCodecContext *avctx, HEVCSPS *sps)
av_log(avctx, AV_LOG_ERROR,
"4:2:0, 4:2:2, 4:4:4 supports are currently specified for 8, 10 and 12 bits.\n");
av_log(avctx, AV_LOG_ERROR,
- "chroma_format_idc is %d",
- sps->chroma_format_idc);
+ "chroma_format_idc is %d, depth is %d",
+ sps->chroma_format_idc, sps->bit_depth);
return AVERROR_INVALIDDATA;
}
More information about the ffmpeg-cvslog
mailing list