[vlc-devel] [PATCH 2/3] omxil: Set a higher priority

Martin Storsjö martin at martin.st
Thu Sep 29 11:05:11 CEST 2011


This module is never enabled automatically, so if it is enabled,
the user really wants to use it, and thus, set high enough
priority to make it be used.

For proper use, j-b has suggested that enabling IOMX could
be a setting in the android app, changing this priority depending
on the setting.
---
 modules/codec/omxil/omxil.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index 6c98ad3..e1a172c 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -89,11 +89,7 @@ vlc_module_begin ()
     set_category( CAT_INPUT )
     set_subcategory( SUBCAT_INPUT_VCODEC )
     set_section( N_("Decoding") , NULL )
-#ifdef HAVE_MAEMO
     set_capability( "decoder", 80 )
-#else
-    set_capability( "decoder", 0 )
-#endif
     set_callbacks( OpenDecoder, CloseGeneric )
 
     add_submodule ()
-- 
1.7.2.5




More information about the vlc-devel mailing list