[Android] LibVLC: use actual CPU frequency when choosing deblocking mode

Felix Abecassis git at videolan.org
Thu Jul 24 16:08:06 CEST 2014


vlc-ports/android | branch: master | Felix Abecassis <felix.abecassis at gmail.com> | Thu Jul 24 15:50:46 2014 +0200| [9f6501027f7919b469cd1825667e165408c39427] | committer: Felix Abecassis

LibVLC: use actual CPU frequency when choosing deblocking mode

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

 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 4af6857..589fe8e 100644
--- a/vlc-android/src/org/videolan/libvlc/LibVLC.java
+++ b/vlc-android/src/org/videolan/libvlc/LibVLC.java
@@ -300,7 +300,7 @@ public class LibVLC {
             LibVlcUtil.MachineSpecs m = LibVlcUtil.getMachineSpecs();
             if( (m.hasArmV6 && !(m.hasArmV7)) || m.hasMips )
                 ret = 4;
-            else if(m.bogoMIPS > 1200 && m.processors > 2)
+            else if(m.frequency > 1200 && m.processors > 2)
                 ret = 1;
             else
                 ret = 3;



More information about the Android mailing list