[vlc-devel] [PATCH 06/21] omxil: Only handle video
Martin Storsjo
martin at martin.st
Sun Sep 4 14:54:11 CEST 2011
From: Martin Storsjö <martin at martin.st>
This works around the issue that a failure to load the omxil
module for one codec will kill the global omx core for all other
codecs, too, when the failed instance is deinitialized.
All instances of the same omx core probably needs reference
counting.
---
modules/codec/omxil/omxil.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
index f399f63..e353fd9 100644
--- a/modules/codec/omxil/omxil.c
+++ b/modules/codec/omxil/omxil.c
@@ -693,10 +693,10 @@ static int OpenDecoder( vlc_object_t *p_this )
if( 0 || !GetOmxRole(p_dec->fmt_in.i_codec, p_dec->fmt_in.i_cat, false) )
return VLC_EGENERIC;
-#ifdef HAVE_MAEMO
+//#ifdef HAVE_MAEMO
if( p_dec->fmt_in.i_cat != VIDEO_ES && !p_dec->b_force)
return VLC_EGENERIC;
-#endif
+//#endif
status = OpenGeneric( p_this, false );
if(status != VLC_SUCCESS) return status;
--
1.7.2.5
More information about the vlc-devel
mailing list