[Android] HW Decoders: fix some tegra3 forced to use iomx
Thomas Guillem
git at videolan.org
Fri Oct 17 10:40:42 CEST 2014
vlc-ports/android | branch: master | Thomas Guillem <tom at gllm.fr> | Wed Oct 15 10:32:49 2014 +0200| [bbfb28143f854d1c0722c3a8dfd55e8fa861fb05] | committer: Jean-Baptiste Kempf
HW Decoders: fix some tegra3 forced to use iomx
"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).
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=bbfb28143f854d1c0722c3a8dfd55e8fa861fb05
---
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 33064b8..8e0e903 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)
More information about the Android
mailing list