comparison 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
comparison
equal deleted inserted replaced
12107:1e4996a88ca5 12108:c35d7bc64882
2243 NULL, 2243 NULL,
2244 ff_h263_decode_end, 2244 ff_h263_decode_end,
2245 ff_h263_decode_frame, 2245 ff_h263_decode_frame,
2246 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, 2246 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
2247 .flush= ff_mpeg_flush, 2247 .flush= ff_mpeg_flush,
2248 .max_lowres= 3,
2248 .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"), 2249 .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2"),
2249 .pix_fmts= ff_hwaccel_pixfmt_list_420, 2250 .pix_fmts= ff_hwaccel_pixfmt_list_420,
2250 }; 2251 };
2251 2252
2252 2253