[Android] MediaPlayer: don't disable video tracks after release

Thomas Guillem git at videolan.org
Tue Oct 3 11:07:41 CEST 2017


vlc-android | branch: master | Thomas Guillem <thomas at gllm.fr> | Tue Oct  3 11:01:58 2017 +0200| [6774ddf5f734ad7f0d09e26022943669a29c70b6] | committer: Thomas Guillem

MediaPlayer: don't disable video tracks after release

> https://code.videolan.org/videolan/vlc-android/commit/6774ddf5f734ad7f0d09e26022943669a29c70b6
---

 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 ba881f0d3..09e8112c4 100644
--- a/libvlc/src/org/videolan/libvlc/MediaPlayer.java
+++ b/libvlc/src/org/videolan/libvlc/MediaPlayer.java
@@ -1117,6 +1117,7 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
 
         if (mMedia != null)
             mMedia.release();
+        mVoutCount = 0;
         nativeRelease();
     }
 



More information about the Android mailing list