[vlc-commits] activex: Use new title events
Hugo Beauzée-Luyssen
git at videolan.org
Tue May 5 12:27:11 CEST 2020
npapi-vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue May 5 11:07:51 2020 +0200| [3523b9f9b59cf97313b455c5429cda114a8a8f98] | committer: Hugo Beauzée-Luyssen
activex: Use new title events
> https://code.videolan.org/videolan/npapi-vlc/commit/3523b9f9b59cf97313b455c5429cda114a8a8f98
---
activex/plugin.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/activex/plugin.cpp b/activex/plugin.cpp
index d159404..80cca1a 100644
--- a/activex/plugin.cpp
+++ b/activex/plugin.cpp
@@ -1439,7 +1439,7 @@ void VLCPlugin::player_register_events()
em.onPausableChanged([this](bool b) {
fireOnMediaPlayerPausableChangedEvent( B( b ) );
});
- em.onTitleChanged([this](int t) {
+ em.onTitleSelectionChanged([this](const VLC::TitleDescription&, int t) {
fireOnMediaPlayerTitleChangedEvent( t );
});
em.onLengthChanged( [this]( int64_t length ) {
More information about the vlc-commits
mailing list