[Android] Don't use iomx-ics on jbmr2 (4.3)

Martin Storsjö git at videolan.org
Thu Jul 24 22:43:23 CEST 2014


vlc-ports/android | branch: master | Martin Storsjö <martin at martin.st> | Thu Jul 24 23:20:26 2014 +0300| [ffb923c99fb6126e7166a5080aba2e320b6feeb9] | committer: Martin Storsjö

Don't use iomx-ics on jbmr2 (4.3)

For the normal, non-direct-rendering iomx, the headers from ICS work
on 4.1 and 4.2, but not on 4.3.

Signed-off-by: Martin Storsjö <martin at martin.st>

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

 vlc-android/src/org/videolan/libvlc/LibVLC.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/libvlc/LibVLC.java b/vlc-android/src/org/videolan/libvlc/LibVLC.java
index c1ebefe..6547c8e 100644
--- a/vlc-android/src/org/videolan/libvlc/LibVLC.java
+++ b/vlc-android/src/org/videolan/libvlc/LibVLC.java
@@ -100,7 +100,7 @@ public class LibVLC {
                 System.loadLibrary("iomx-gingerbread");
             else if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.HONEYCOMB_MR2)
                 System.loadLibrary("iomx-hc");
-            else if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.JELLY_BEAN_MR2)
+            else if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.JELLY_BEAN_MR1)
                 System.loadLibrary("iomx-ics");
         } catch (Throwable t) {
             Log.w(TAG, "Unable to load the iomx library: " + t);



More information about the Android mailing list