[Android] Detach views on media player released
Geoffrey Métais
git at videolan.org
Mon Jul 23 15:58:02 CEST 2018
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jul 23 15:57:29 2018 +0200| [b04f1d58532e47ee5b0f59c06253af404f7ce5ac] | committer: Geoffrey Métais
Detach views on media player released
> https://code.videolan.org/videolan/vlc-android/commit/b04f1d58532e47ee5b0f59c06253af404f7ce5ac
---
libvlc/src/org/videolan/libvlc/MediaPlayer.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/libvlc/src/org/videolan/libvlc/MediaPlayer.java b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
index 2a41a40e2..2ea1489f7 100644
--- a/libvlc/src/org/videolan/libvlc/MediaPlayer.java
+++ b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
@@ -1196,6 +1196,7 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
@Override
protected void onReleaseNative() {
+ mWindow.detachViews();
registerAudioPlug(false);
if (mMedia != null)
More information about the Android
mailing list