npapi-vlc | branch: master | Soomin Lee <b...@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 <j...@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, &params);
+    
vlcConnectionPointContainer->fireEvent(DISPID_MediaPlayerChapterChangedEvent, 
&params);
 }
 #endif
 

_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to