Commit 20141e2c authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

libvlc_media_player_stop: destroys the kept vout

parent 12256be1
......@@ -738,6 +738,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