Mercurial > libavcodec.hg
comparison wmv2dec.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 |
---|---|
492 wmv2_decode_init, | 492 wmv2_decode_init, |
493 NULL, | 493 NULL, |
494 wmv2_decode_end, | 494 wmv2_decode_end, |
495 ff_h263_decode_frame, | 495 ff_h263_decode_frame, |
496 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, | 496 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, |
497 .max_lowres = 3, | |
497 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"), | 498 .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 8"), |
498 .pix_fmts= ff_pixfmt_list_420, | 499 .pix_fmts= ff_pixfmt_list_420, |
499 }; | 500 }; |