[FFmpeg-devel] [PATCH] libvpxdec: set CODEC_CAP_DR1 for vp9
James Zern
jzern at google.com
Sat Nov 23 05:26:22 CET 2013
it shares vp8_decode() with vp8 which already has the flag set
---
libavcodec/libvpxdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c
index 897a68b..b2471c7 100644
--- a/libavcodec/libvpxdec.c
+++ b/libavcodec/libvpxdec.c
@@ -144,6 +144,6 @@ AVCodec ff_libvpx_vp9_decoder = {
.init = vp9_init,
.close = vp8_free,
.decode = vp8_decode,
- .capabilities = CODEC_CAP_AUTO_THREADS | CODEC_CAP_EXPERIMENTAL,
+ .capabilities = CODEC_CAP_AUTO_THREADS | CODEC_CAP_DR1 | CODEC_CAP_EXPERIMENTAL,
};
#endif /* CONFIG_LIBVPX_VP9_DECODER */
--
1.8.4.1
More information about the ffmpeg-devel
mailing list