[Android] Hwdec: No OMX for Exynos 4

Thomas Guillem git at videolan.org
Fri Apr 3 11:36:20 CEST 2015


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Fri Apr  3 11:33:43 2015 +0200| [abb34b9c29a97a12921df6930e88cd9a1a572b7d] | committer: Thomas Guillem

Hwdec: No OMX for Exynos 4

It freeze on these devices, so don't use OMX until we found a solution.

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=abb34b9c29a97a12921df6930e88cd9a1a572b7d
---

 libvlc/src/org/videolan/libvlc/HWDecoderUtil.java |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/libvlc/src/org/videolan/libvlc/HWDecoderUtil.java b/libvlc/src/org/videolan/libvlc/HWDecoderUtil.java
index caa00d7..7c60221 100644
--- a/libvlc/src/org/videolan/libvlc/HWDecoderUtil.java
+++ b/libvlc/src/org/videolan/libvlc/HWDecoderUtil.java
@@ -80,13 +80,17 @@ public class HWDecoderUtil {
         new DecoderBySOC("ro.board.platform", "sun6i", Decoder.OMX), // Allwinner A31
 
         /*
+         * Devices working only on Mediacodec
+         */
+        new DecoderBySOC("ro.board.platform", "exynos4", Decoder.MEDIACODEC), // Exynos 4 (Samsung Galaxy S2/S3)
+
+        /*
          * Devices working on Mediacodec and OMX
          */
         new DecoderBySOC("ro.board.platform", "omap4", Decoder.ALL), // Omap 4
         new DecoderBySOC("ro.board.platform", "tegra", Decoder.ALL), // Tegra 2 & 3
         new DecoderBySOC("ro.board.platform", "tegra3", Decoder.ALL), // Tegra 3
         new DecoderBySOC("ro.board.platform", "msm8660", Decoder.ALL), // QCOM S3
-        new DecoderBySOC("ro.board.platform", "exynos4", Decoder.ALL), // Exynos 4 (Samsung Galaxy S2/S3)
         new DecoderBySOC("ro.board.platform", "exynos5", Decoder.ALL), // Exynos 5 (Samsung Galaxy S4)
         new DecoderBySOC("ro.board.platform", "rk30", Decoder.ALL), // Rockchip RK30
         new DecoderBySOC("ro.board.platform", "rk31", Decoder.ALL), // Rockchip RK31



More information about the Android mailing list