From: RĂ©mi Duraffort Date: Tue, 2 Feb 2010 09:49:56 +0000 (+0100) Subject: libvlcpp: stop the media player in the destructor. X-Git-Tag: 1.1.0-ff~541 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=0ca9ac70ba2bcc618c6241613c29097ae474e5b5;p=vlc libvlcpp: stop the media player in the destructor. --- diff --git a/bindings/libvlcpp/src/media_player.cpp b/bindings/libvlcpp/src/media_player.cpp index 34504b2495..e6355630c8 100644 --- a/bindings/libvlcpp/src/media_player.cpp +++ b/bindings/libvlcpp/src/media_player.cpp @@ -39,6 +39,7 @@ MediaPlayer::MediaPlayer( Media &media ) MediaPlayer::~MediaPlayer() { + stop(); libvlc_media_player_release( m_player ); }