[vlc-commits] vpx: Get the decoder capabilities

Vittorio Giovara git at videolan.org
Thu Sep 29 05:27:19 CEST 2016


vlc | branch: master | Vittorio Giovara <vittorio.giovara at gmail.com> | Wed Sep 28 23:25:50 2016 -0400| [dc1cd3335fb81b1c9283852b2c79bca3d2959678] | committer: Vittorio Giovara

vpx: Get the decoder capabilities

Instead of the encoder ones.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dc1cd3335fb81b1c9283852b2c79bca3d2959678
---

 modules/codec/vpx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/vpx.c b/modules/codec/vpx.c
index ebee86b..93e618d 100644
--- a/modules/codec/vpx.c
+++ b/modules/codec/vpx.c
@@ -296,7 +296,7 @@ static int OpenDecoder(vlc_object_t *p_this)
 #endif
 #ifdef ENABLE_VP9_DECODER
     case VLC_CODEC_VP9:
-        codec_caps = vpx_codec_get_caps(vpx_codec_vp9_cx());
+        codec_caps = vpx_codec_get_caps(vpx_codec_vp9_dx());
         iface = &vpx_codec_vp9_dx_algo;
         vp_version = 9;
         break;



More information about the vlc-commits mailing list