[FFmpeg-cvslog] imgconvert: print color type too
Michael Niedermayer
git at videolan.org
Wed Nov 21 17:45:11 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Nov 21 17:32:21 2012 +0100| [fc04c99deaca6c3e76ad9ad5043860e8435cf4eb] | committer: Michael Niedermayer
imgconvert: print color type too
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fc04c99deaca6c3e76ad9ad5043860e8435cf4eb
---
libavcodec/imgconvert.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/imgconvert.c b/libavcodec/imgconvert.c
index 3353481..d4a654d 100644
--- a/libavcodec/imgconvert.c
+++ b/libavcodec/imgconvert.c
@@ -986,7 +986,7 @@ int main(void){
AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(i);
if(!desc)
continue;
- av_log(0, AV_LOG_INFO, "pix fmt %s yuv_plan:%d avg_bpp:%d\n", desc->name, is_yuv_planar(i), avg_bits_per_pixel(i));
+ av_log(0, AV_LOG_INFO, "pix fmt %s yuv_plan:%d avg_bpp:%d colortype:%d\n", desc->name, is_yuv_planar(i), avg_bits_per_pixel(i), pix_fmt_info[i].color_type);
}
return 0;
}
More information about the ffmpeg-cvslog
mailing list