[vlc-commits] aom: allow low bitdepth path for decoder

Tristan Matthews git at videolan.org
Wed Dec 27 12:14:53 CET 2017


vlc/vlc-3.0 | branch: master | Tristan Matthews <tmatth at videolan.org> | Mon Dec 18 10:10:50 2017 -0500| [3a6c787c06082d1eca65f7eb6468ccce8d7c3d11] | committer: Jean-Baptiste Kempf

aom: allow low bitdepth path for decoder

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
(cherry picked from commit 2119712aec2ab15102e950a748d87e4075cc9f83)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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)",



More information about the vlc-commits mailing list