Commit 88714ed2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc_media_player_stop: destroys the kept vout

(cherry picked from commit 20141e2c65bd1b5c924943046ec640adc5ec7a4a)
parent b7e24630
......@@ -742,6 +742,9 @@ void libvlc_media_player_stop( libvlc_media_player_t *p_mi )
event.type = libvlc_MediaPlayerStopped;
libvlc_event_send( p_mi->p_event_manager, &event );
}
if( p_mi->input.p_resource != NULL )
input_resource_TerminateVout( p_mi->input.p_resource );
unlock_input(p_mi);
}
......
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