libvpxdec: set CODEC_CAP_DR1 for vp9
authorJames Zern <jzern@google.com>
Sat, 23 Nov 2013 04:26:22 +0000 (20:26 -0800)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 23 Nov 2013 15:58:03 +0000 (16:58 +0100)
it shares vp8_decode() with vp8 which already has the flag set

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/libvpxdec.c

index 897a68b..b2471c7 100644 (file)
@@ -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 */