# HG changeset patch # User diego # Date 1136394450 0 # Node ID 037518fde4bd73548b67d1824039fb1f490a2105 # Parent 533c6386eca9d54177390db481ea8bade72720a2 H.263: more descriptive error message patch by Tom Joseph < tom-lists @@ @ @@ jambon @@ dot @@ ll @@ dot @@ cx > diff -r 533c6386eca9 -r 037518fde4bd mpegvideo.c --- a/mpegvideo.c Wed Jan 04 16:31:23 2006 +0000 +++ b/mpegvideo.c Wed Jan 04 17:07:30 2006 +0000 @@ -1139,7 +1139,7 @@ break; case CODEC_ID_H263: if (h263_get_picture_format(s->width, s->height) == 7) { - av_log(avctx, AV_LOG_INFO, "Input picture size isn't suitable for h263 codec! try h263+\n"); + 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); return -1; } s->out_format = FMT_H263;