[vlc-commits] [Git][videolan/npapi-vlc][master] activex: plugin: Send correct MediaPlayerChapterChangedEvent event

Jean-Baptiste Kempf gitlab at videolan.org
Wed Jan 16 08:29:22 CET 2019


Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC Browser Plugins


Commits:
6dae1294 by Soomin Lee at 2019-01-16T07:29:17Z
activex: plugin: Send correct MediaPlayerChapterChangedEvent event

Close #21405

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

- - - - -


1 changed file:

- activex/plugin.cpp


Changes:

=====================================
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
 



View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/commit/6dae129488a498ff6c424e9672eaa624babc2647

-- 
View it on GitLab: https://code.videolan.org/videolan/npapi-vlc/commit/6dae129488a498ff6c424e9672eaa624babc2647
You're receiving this email because of your account on code.videolan.org.


More information about the vlc-commits mailing list