vc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1

Originally committed as revision 19111 to svn://svn.ffmpeg.org/ffmpeg/trunk
release/0.6
Baptiste Coudurier 16 years ago
parent c0bd35c70c
commit 35b2c65756
  1. 4
      libavcodec/vc1.c

@ -4272,7 +4272,7 @@ AVCodec vc1_decoder = {
NULL, NULL,
vc1_decode_end, vc1_decode_end,
vc1_decode_frame, vc1_decode_frame,
CODEC_CAP_DELAY, CODEC_CAP_DR1 | CODEC_CAP_DELAY,
NULL, NULL,
.long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"), .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"),
.pix_fmts = ff_hwaccel_pixfmt_list_420 .pix_fmts = ff_hwaccel_pixfmt_list_420
@ -4287,7 +4287,7 @@ AVCodec wmv3_decoder = {
NULL, NULL,
vc1_decode_end, vc1_decode_end,
vc1_decode_frame, vc1_decode_frame,
CODEC_CAP_DELAY, CODEC_CAP_DR1 | CODEC_CAP_DELAY,
NULL, NULL,
.long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"), .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"),
.pix_fmts = ff_hwaccel_pixfmt_list_420 .pix_fmts = ff_hwaccel_pixfmt_list_420

Loading…
Cancel
Save