[vlc-commits] mediacodec: enable mediacodec_ndk

Thomas Guillem git at videolan.org
Mon Apr 23 08:58:44 CEST 2018


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Apr 20 16:43:34 2018 +0200| [808599f8ee0e1793d75874b6524cc6e17ea72698] | committer: Thomas Guillem

mediacodec: enable mediacodec_ndk

mediacodec_ndk can now be safely enabled. This is not the case for
mediacodec_jni that run on old devices and can cause some trouble.

Nevertheless, the vlc android app will use its own settings.

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

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

diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index 455f0fc7f4..bfcc06da1b 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -182,7 +182,7 @@ vlc_module_begin ()
     set_category(CAT_INPUT)
     set_subcategory(SUBCAT_INPUT_VCODEC)
     set_section(N_("Decoding"), NULL)
-    set_capability("video decoder", 0) /* Only enabled via commandline arguments */
+    set_capability("video decoder", 800)
     add_bool(CFG_PREFIX "dr", true,
              DIRECTRENDERING_TEXT, DIRECTRENDERING_LONGTEXT, true)
     add_bool(CFG_PREFIX "audio", false,



More information about the vlc-commits mailing list