Commit 53ee51d9 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

VLCMediaPlayer: Hook Vout events.

parent 7f97e189
......@@ -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
......
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