Commit 935fe1d7 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Mozilla: Fix previous commit.

parent befe44b9
...@@ -184,11 +184,11 @@ int16 NPP_HandleEvent( NPP instance, void * event ) ...@@ -184,11 +184,11 @@ int16 NPP_HandleEvent( NPP instance, void * event )
{ {
if( libvlc_playlist_isplaying(p_vlc, NULL) ) if( libvlc_playlist_isplaying(p_vlc, NULL) )
{ {
libvlc_media_instance_t *p_mp = libvlc_playlist_get_media_instance(p_vlc, NULL); libvlc_media_instance_t *p_md = libvlc_playlist_get_media_instance(p_vlc, NULL);
if( p_md ) if( p_md )
{ {
libvlc_toggle_fullscreen(p_mp, NULL); libvlc_toggle_fullscreen(p_md, NULL);
libvlc_media_instance_destroy_and_release(p_mp); libvlc_media_instance_destroy_and_detach(p_md);
} }
} }
} }
......
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