Mercurial > libavcodec.hg
diff mpeg4videodec.c @ 12108:c35d7bc64882 libavcodec
Add new decoder property max_lowres and do not init decoder if requested value is higher.
author | cehoyos |
---|---|
date | Wed, 07 Jul 2010 21:23:36 +0000 |
parents | 8a4984c5cacc |
children |
line wrap: on
line diff
--- a/mpeg4videodec.c Wed Jul 07 20:23:56 2010 +0000 +++ b/mpeg4videodec.c Wed Jul 07 21:23:36 2010 +0000 @@ -2245,6 +2245,7 @@ ff_h263_decode_frame, CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, .flush= ff_mpeg_flush, + .max_lowres= 3, .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), .pix_fmts= ff_hwaccel_pixfmt_list_420, };