diff options
author | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-07-08 01:23:36 +0400 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at> | 2010-07-08 01:23:36 +0400 |
commit | 0fd0ef7947ad31b2e1b9506cb70d85dcfdf6cba6 (patch) | |
tree | c79745bc17e836f9438ae968085c2997a5f8c3a5 /libavcodec/h263dec.c | |
parent | 38b04109028fdeb4009f74e7467f90f3083a897a (diff) |
Add new decoder property max_lowres and do not init decoder if requested value is higher.
Originally committed as revision 24098 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index c80cfcfa2d..d9d6f7e5d6 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -738,6 +738,7 @@ AVCodec h263_decoder = { 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("H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2"), .pix_fmts= ff_hwaccel_pixfmt_list_420, }; |