[Android] VideoPlayer: honeycomb need configureSurface

Thomas Guillem git at videolan.org
Mon Nov 17 14:53:08 CET 2014


vlc-ports/android | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Nov 17 14:44:12 2014 +0100| [0b230b3256299bff601c12dc4e4d81511aec8424] | committer: Jean-Baptiste Kempf

VideoPlayer: honeycomb need configureSurface

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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;



More information about the Android mailing list