Commit 3df90cad authored by Duncan McNAMARA's avatar Duncan McNAMARA Committed by Geoffrey Métais

MediaPlayer: fix crash on media player restart

Calls detachview in onReleaseNative() to ensure
that the VideoHelper callbacks are removed.
If not updateVideoSurfaces() can be called with
a VLCInstance null
Signed-off-by: default avatarGeoffrey Métais <>
parent 32a50a3b
......@@ -1334,6 +1334,7 @@ public class MediaPlayer extends VLCObject<MediaPlayer.Event> {
protected void onReleaseNative() {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment