[Android] [PATCH 1/2] VideoPlayer: honeycomb need configureSurface

Thomas Guillem thomas at gllm.fr
Mon Nov 17 14:44:12 CET 2014


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

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index d485298..a502414 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -863,7 +863,7 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
 
     @Override
     public int configureSurface(final Surface surface, final int width, final int height, final int hal) {
-        if (LibVlcUtil.isHoneycombOrLater() || surface == null)
+        if (LibVlcUtil.isICSOrLater() || surface == null)
             return -1;
         if (width * height == 0)
             return 0;
-- 
2.1.1



More information about the Android mailing list