[vlmc-devel] VLCMediaPlayer: Hook Vout events.

Hugo Beauzée-Luyssen git at videolan.org
Sat Sep 22 18:47:45 CEST 2012


vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Sat Sep 22 18:33:21 2012 +0300| [53ee51d92c2b21086731e838f237b242130256a4] | committer: Hugo Beauzée-Luyssen

VLCMediaPlayer: Hook Vout events.

> http://git.videolan.org/gitweb.cgi/vlmc.git/?a=commit;h=53ee51d92c2b21086731e838f237b242130256a4
---

 src/LibVLCpp/VLCMediaPlayer.cpp |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/LibVLCpp/VLCMediaPlayer.cpp b/src/LibVLCpp/VLCMediaPlayer.cpp
index 8608e69..3301044 100644
--- a/src/LibVLCpp/VLCMediaPlayer.cpp
+++ b/src/LibVLCpp/VLCMediaPlayer.cpp
@@ -61,6 +61,7 @@ MediaPlayer::~MediaPlayer()
     DETACH( libvlc_MediaPlayerEncounteredError );
     DETACH( libvlc_MediaPlayerPausableChanged );
     DETACH( libvlc_MediaPlayerSeekableChanged );
+    DETACH( libvlc_MediaPlayerVout );
     stop();
     libvlc_media_player_release( m_internalPtr );
 }
@@ -83,6 +84,7 @@ MediaPlayer::registerEvents()
     ATTACH( libvlc_MediaPlayerEncounteredError );
     ATTACH( libvlc_MediaPlayerPausableChanged );
     ATTACH( libvlc_MediaPlayerSeekableChanged );
+    ATTACH( libvlc_MediaPlayerVout );
 }
 
 #undef ATTACH



More information about the Vlmc-devel mailing list