[vlc-devel] [PATCH 1/5] aom: allow low bitdepth path for decoder

Tristan Matthews tmatth at videolan.org
Mon Dec 18 16:10:50 CET 2017


---
 modules/codec/aom.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/codec/aom.c b/modules/codec/aom.c
index 946a0c3a5b..0f3b866ee9 100644
--- a/modules/codec/aom.c
+++ b/modules/codec/aom.c
@@ -264,7 +264,8 @@ static int OpenDecoder(vlc_object_t *p_this)
     dec->p_sys = sys;
 
     struct aom_codec_dec_cfg deccfg = {
-        .threads = __MIN(vlc_GetCPUCount(), 16)
+        .threads = __MIN(vlc_GetCPUCount(), 16),
+        .allow_lowbitdepth = 1
     };
 
     msg_Dbg(p_this, "AV%d: using libaom version %s (build options %s)",
-- 
2.15.1



More information about the vlc-devel mailing list