[vlc-devel] [PATCH] omxil: Ignore OMX.google.* codecs
Rafaël Carré
funman at videolan.org
Fri Jan 27 10:03:02 CET 2012
Le 2012-01-27 03:32, Martin Storsjö a écrit :
> These are sw codecs, mostly the same ones that earlier were present
> with names starting with OMX.PV. They don't work properly with the
> vlc omxil client code at the moment. Using them doesn't have any
> significant advantage over our own bundled sw codecs.
> ---
> modules/codec/omxil/omxil.c | 3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/modules/codec/omxil/omxil.c b/modules/codec/omxil/omxil.c
> index ab81196..3f735a6 100644
> --- a/modules/codec/omxil/omxil.c
> +++ b/modules/codec/omxil/omxil.c
> @@ -921,6 +921,9 @@ loaded:
> /* ignore OpenCore software codecs */
> if (!strncmp(p_sys->ppsz_components[i], "OMX.PV.", 7))
> continue;
> + /* The same sw codecs, renamed in ICS (perhaps also in honeycomb) */
> + if (!strncmp(p_sys->ppsz_components[i], "OMX.google.", 11))
> + continue;
> #endif
> omx_error = InitialiseComponent(p_dec, p_sys->ppsz_components[i],
> &p_sys->omx_handle);
Applied, thanks!
More information about the vlc-devel
mailing list