comparison mpegvideo.c @ 3011:037518fde4bd libavcodec

H.263: more descriptive error message patch by Tom Joseph < tom-lists @@ @ @@ jambon @@ dot @@ ll @@ dot @@ cx >
author diego
date Wed, 04 Jan 2006 17:07:30 +0000
parents 188f4ef688f2
children 0b546eab515d
comparison
equal deleted inserted replaced
3010:533c6386eca9 3011:037518fde4bd
1137 avctx->delay=0; 1137 avctx->delay=0;
1138 s->low_delay=1; 1138 s->low_delay=1;
1139 break; 1139 break;
1140 case CODEC_ID_H263: 1140 case CODEC_ID_H263:
1141 if (h263_get_picture_format(s->width, s->height) == 7) { 1141 if (h263_get_picture_format(s->width, s->height) == 7) {
1142 av_log(avctx, AV_LOG_INFO, "Input picture size isn't suitable for h263 codec! try h263+\n"); 1142 av_log(avctx, AV_LOG_INFO, "The specified picture size of %dx%d is not valid for the H.263 codec.\nValid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.\n", s->width, s->height);
1143 return -1; 1143 return -1;
1144 } 1144 }
1145 s->out_format = FMT_H263; 1145 s->out_format = FMT_H263;
1146 s->obmc= (avctx->flags & CODEC_FLAG_OBMC) ? 1:0; 1146 s->obmc= (avctx->flags & CODEC_FLAG_OBMC) ? 1:0;
1147 avctx->delay=0; 1147 avctx->delay=0;