[vlc-commits] activex: plugin: Send correct MediaPlayerChapterChangedEvent event
    Soomin Lee 
    git at videolan.org
       
    Wed Jan 16 08:29:22 CET 2019
    
    
  
npapi-vlc | branch: master | Soomin Lee <bubu at mikan.io> | Tue Jan 15 19:18:14 2019 +0100| [6dae129488a498ff6c424e9672eaa624babc2647] | committer: Jean-Baptiste Kempf
activex: plugin: Send correct MediaPlayerChapterChangedEvent event
Close #21405
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> https://code.videolan.org/videolan/npapi-vlc/commit/6dae129488a498ff6c424e9672eaa624babc2647
---
 activex/plugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/activex/plugin.cpp b/activex/plugin.cpp
index a0c1b47..2d103f3 100644
--- a/activex/plugin.cpp
+++ b/activex/plugin.cpp
@@ -1383,7 +1383,7 @@ void VLCPlugin::fireOnMediaPlayerChapterChangedEvent(int chapter)
     params.rgvarg[0].iVal = chapter;
     params.rgdispidNamedArgs = NULL;
     params.cNamedArgs = 0;
-    vlcConnectionPointContainer->fireEvent(DISPID_CLICK, ¶ms);
+    vlcConnectionPointContainer->fireEvent(DISPID_MediaPlayerChapterChangedEvent, ¶ms);
 }
 #endif
 
    
    
More information about the vlc-commits
mailing list