From e9ca5f089201cfe1abfef722ce1683d1e3443f57 Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
Date: Tue, 13 Jan 2009 08:03:45 +0000
Subject: [PATCH] Print VC-1 aspect ratio in debug

Originally committed as revision 16577 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/vc1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/vc1.c b/libavcodec/vc1.c
index f91a1d55e62..32927e0280c 100644
--- a/libavcodec/vc1.c
+++ b/libavcodec/vc1.c
@@ -1019,6 +1019,7 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
             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)) {
-- 
GitLab