[vlc-devel] commit: libvlcpp: stop the media player in the destructor. ( Rémi Duraffort )
git version control
git at videolan.org
Tue Feb 2 11:20:19 CET 2010
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Feb 2 10:49:56 2010 +0100| [0ca9ac70ba2bcc618c6241613c29097ae474e5b5] | committer: Rémi Duraffort
libvlcpp: stop the media player in the destructor.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0ca9ac70ba2bcc618c6241613c29097ae474e5b5
---
bindings/libvlcpp/src/media_player.cpp | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/bindings/libvlcpp/src/media_player.cpp b/bindings/libvlcpp/src/media_player.cpp
index 34504b2..e635563 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 );
}
More information about the vlc-devel
mailing list