[Android] Revert "LibVLC/AWindow: release the surface"
Thomas Guillem
git at videolan.org
Thu Mar 2 14:59:33 CET 2017
vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Mar 2 14:58:01 2017 +0100| [7128ddd509166261fd98d59d2fb868ecb192d7d3] | committer: Thomas Guillem
Revert "LibVLC/AWindow: release the surface"
LibVLC user may want to re-use this surface.
This reverts commit ec54269b4b34d46a510edb03be5beb83a0cf065f.
> https://code.videolan.org/videolan/vlc-android/commit/7128ddd509166261fd98d59d2fb868ecb192d7d3
---
libvlc/src/org/videolan/libvlc/AWindow.java | 2 --
1 file changed, 2 deletions(-)
diff --git a/libvlc/src/org/videolan/libvlc/AWindow.java b/libvlc/src/org/videolan/libvlc/AWindow.java
index fb413d8..9b4b10d 100644
--- a/libvlc/src/org/videolan/libvlc/AWindow.java
+++ b/libvlc/src/org/videolan/libvlc/AWindow.java
@@ -124,8 +124,6 @@ public class AWindow implements IVLCVout {
}
public void release() {
- if (AndroidUtil.isICSOrLater() && mSurface != null)
- mSurface.release();
mSurface = null;
setNativeSurface(mId, null);
if (mSurfaceHolder != null)
More information about the Android
mailing list