changeset 9815:0f281bed6d7b libavcodec

vc1 and wmv3 decoders use MPV_frame_start which uses get_buffer, set CODEC_CAP_DR1
author bcoudurier
date Fri, 05 Jun 2009 08:53:39 +0000
parents f2fb80b9952a
children e19113273403
files vc1.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/vc1.c	Fri Jun 05 08:48:34 2009 +0000
+++ b/vc1.c	Fri Jun 05 08:53:39 2009 +0000
@@ -4272,7 +4272,7 @@
     NULL,
     vc1_decode_end,
     vc1_decode_frame,
-    CODEC_CAP_DELAY,
+    CODEC_CAP_DR1 | CODEC_CAP_DELAY,
     NULL,
     .long_name = NULL_IF_CONFIG_SMALL("SMPTE VC-1"),
     .pix_fmts = ff_hwaccel_pixfmt_list_420
@@ -4287,7 +4287,7 @@
     NULL,
     vc1_decode_end,
     vc1_decode_frame,
-    CODEC_CAP_DELAY,
+    CODEC_CAP_DR1 | CODEC_CAP_DELAY,
     NULL,
     .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"),
     .pix_fmts = ff_hwaccel_pixfmt_list_420