Mercurial > libavcodec.hg
comparison vc1.c @ 4467:a9f64d2a2e69 libavcodec
These messages are just for debug purposes
author | kostya |
---|---|
date | Sat, 03 Feb 2007 06:43:06 +0000 |
parents | 1dea76bf254f |
children | 2c9a66c5223a |
comparison
equal
deleted
inserted
replaced
4466:1dea76bf254f | 4467:a9f64d2a2e69 |
---|---|
1302 av_log(v->s.avctx, AV_LOG_ERROR, "Progressive Segmented Frame mode: not supported (yet)\n"); | 1302 av_log(v->s.avctx, AV_LOG_ERROR, "Progressive Segmented Frame mode: not supported (yet)\n"); |
1303 return -1; | 1303 return -1; |
1304 } | 1304 } |
1305 if(get_bits1(gb)) { //Display Info - decoding is not affected by it | 1305 if(get_bits1(gb)) { //Display Info - decoding is not affected by it |
1306 int w, h, ar = 0; | 1306 int w, h, ar = 0; |
1307 av_log(v->s.avctx, AV_LOG_INFO, "Display extended info:\n"); | 1307 av_log(v->s.avctx, AV_LOG_DEBUG, "Display extended info:\n"); |
1308 v->s.avctx->width = v->s.width = w = get_bits(gb, 14) + 1; | 1308 v->s.avctx->width = v->s.width = w = get_bits(gb, 14) + 1; |
1309 v->s.avctx->height = v->s.height = h = get_bits(gb, 14) + 1; | 1309 v->s.avctx->height = v->s.height = h = get_bits(gb, 14) + 1; |
1310 av_log(v->s.avctx, AV_LOG_INFO, "Display dimensions: %ix%i\n", w, h); | 1310 av_log(v->s.avctx, AV_LOG_DEBUG, "Display dimensions: %ix%i\n", w, h); |
1311 if(get_bits1(gb)) | 1311 if(get_bits1(gb)) |
1312 ar = get_bits(gb, 4); | 1312 ar = get_bits(gb, 4); |
1313 if(ar && ar < 14){ | 1313 if(ar && ar < 14){ |
1314 v->s.avctx->sample_aspect_ratio = vc1_pixel_aspect[ar]; | 1314 v->s.avctx->sample_aspect_ratio = vc1_pixel_aspect[ar]; |
1315 }else if(ar == 15){ | 1315 }else if(ar == 15){ |