[Android] [PATCH] HW Decoders: fix some tegra3 forced to use iomx

XilasZ xilasz at gmail.com
Thu Oct 16 11:25:48 CEST 2014


Ok for me, this fix the issue on OneX
Le 15 oct. 2014 10:33, "Thomas Guillem" <tom at gllm.fr> a écrit :

> "ro.board.platform=tegra" can correspond to tegra2 and some tegra3 devices
> (HTC
> OneX). Both tegra2 and tegra3 works with mediacodec and iomx, so use ALL
> decoders for these devices (default behavior).
> ---
>  vlc-android/src/org/videolan/libvlc/HWDecoderUtil.java | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/vlc-android/src/org/videolan/libvlc/HWDecoderUtil.java
> b/vlc-android/src/org/videolan/libvlc/HWDecoderUtil.java
> index 145a587..bb07dab 100644
> --- a/vlc-android/src/org/videolan/libvlc/HWDecoderUtil.java
> +++ b/vlc-android/src/org/videolan/libvlc/HWDecoderUtil.java
> @@ -60,7 +60,6 @@ public class HWDecoderUtil {
>          new DecoderBySOC ("ro.board.platform", Decoder.OMX, new  String[]
> {
>                  "omap3",            // Omap 3
>                  "rockchip", "rk29", // Rockchip RK29
> -                "tegra",            // Tegra 2
>                  "msm7630",          // QCOM S2
>                  "s5pc",             // Exynos 3
>                  "montblanc",        // Montblanc
> @@ -74,6 +73,8 @@ public class HWDecoderUtil {
>           */
>          new DecoderBySOC ("ro.board.platform", Decoder.ALL, new  String[]
> {
>                  "omap4",            // Omap 4
> +                "tegra",            // Tegra 2 & 3
> +                "tegra3",           // Tegra 3
>                  "msm8660",          // QCOM S3
>                  "exynos4",          // Exynos 4 (Samsung Galaxy S2/S3)
>                  "exynos5",          // Exynos 5 (Samsung Galaxy S4)
> --
> 2.1.0
>
> _______________________________________________
> Android mailing list
> Android at videolan.org
> https://mailman.videolan.org/listinfo/android
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/android/attachments/20141016/341a7fe7/attachment.html>


More information about the Android mailing list