[vlc-devel] [RFC PATCH 09/10] mediacodec: increase capability

Thomas Guillem thomas at gllm.fr
Thu Apr 21 11:53:43 CEST 2016


---
 modules/codec/omxil/mediacodec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/codec/omxil/mediacodec.c b/modules/codec/omxil/mediacodec.c
index f64b2e3..8fd1e62 100644
--- a/modules/codec/omxil/mediacodec.c
+++ b/modules/codec/omxil/mediacodec.c
@@ -184,7 +184,7 @@ vlc_module_begin ()
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_VCODEC )
     set_section( N_("Decoding") , NULL )
-    set_capability( "decoder", 0 ) /* Only enabled via commandline arguments */
+    set_capability( "decoder", 90 )
     add_bool(CFG_PREFIX "dr", true,
              DIRECTRENDERING_TEXT, DIRECTRENDERING_LONGTEXT, true)
     add_bool(CFG_PREFIX "tunneled-playback", false,
@@ -193,7 +193,7 @@ vlc_module_begin ()
     add_shortcut( "mediacodec_ndk" )
     add_submodule ()
         set_description( N_("Video decoder using Android MediaCodec via JNI") )
-        set_capability( "decoder", 0 )
+        set_capability( "decoder", 90 )
         set_callbacks( OpenDecoderJni, CloseDecoder )
         add_shortcut( "mediacodec_jni" )
 vlc_module_end ()
-- 
2.8.0.rc3



More information about the vlc-devel mailing list