[vlc-devel] [PATCH 2/3] mediacodec: enable mediacodec_ndk
Thomas Guillem
thomas at gllm.fr
Fri Apr 20 16:46:59 CEST 2018
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.
---
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,
--
2.11.0
More information about the vlc-devel
mailing list