Print VC-1 aspect ratio in debug

Originally committed as revision 16577 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Kostya Shishkov 2009-01-13 08:03:45 +00:00
parent 820089cb06
commit e9ca5f0892

View File

@ -1019,6 +1019,7 @@ static int decode_sequence_header_adv(VC1Context *v, GetBitContext *gb)
h = get_bits(gb, 8); h = get_bits(gb, 8);
v->s.avctx->sample_aspect_ratio = (AVRational){w, h}; 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)){ //framerate stuff
if(get_bits1(gb)) { if(get_bits1(gb)) {