changeset 8583:d94775e24b0e libavcodec

Print VC-1 aspect ratio in debug
author kostya
date Tue, 13 Jan 2009 08:03:45 +0000
parents 2624a270ef12
children 8a47574d9fbc
files vc1.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Tue Jan 13 08:02:31 2009 +0000
+++ b/vc1.c	Tue Jan 13 08:03:45 2009 +0000
@@ -1019,6 +1019,7 @@
             h = get_bits(gb, 8);
             v->s.avctx->sample_aspect_ratio = (AVRational){w, h};
         }
+        av_log(v->s.avctx, AV_LOG_DEBUG, "Aspect: %i:%i\n", v->s.avctx->sample_aspect_ratio.num, v->s.avctx->sample_aspect_ratio.den);
 
         if(get_bits1(gb)){ //framerate stuff
             if(get_bits1(gb)) {