Commit 0ca9ac70 authored by Rémi Duraffort's avatar Rémi Duraffort

libvlcpp: stop the media player in the destructor.

parent ae749fcd
......@@ -39,6 +39,7 @@ MediaPlayer::MediaPlayer( Media &media )
MediaPlayer::~MediaPlayer()
{
stop();
libvlc_media_player_release( m_player );
}
......
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