[vlc-commits] NPAPI: catch the MediaPlayerMediaChanged event

Jean-Baptiste Kempf git at videolan.org
Mon Dec 15 22:26:15 CET 2014


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Dec 15 22:25:51 2014 +0100| [ac60d144d923d77a32b7921438f51f36c048e775] | committer: Jean-Baptiste Kempf

NPAPI: catch the MediaPlayerMediaChanged event

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=ac60d144d923d77a32b7921438f51f36c048e775
---

 npapi/events.cpp |    1 +
 1 file changed, 1 insertion(+)

diff --git a/npapi/events.cpp b/npapi/events.cpp
index e8b8164..ae4c892 100644
--- a/npapi/events.cpp
+++ b/npapi/events.cpp
@@ -38,6 +38,7 @@ static void handle_input_event(const libvlc_event_t* event, void *param)
     VlcPluginBase *plugin = (VlcPluginBase*)param;
     switch( event->type )
     {
+        case libvlc_MediaPlayerMediaChanged:
         case libvlc_MediaPlayerNothingSpecial:
         case libvlc_MediaPlayerOpening:
         case libvlc_MediaPlayerPlaying:



More information about the vlc-commits mailing list