[vlc-commits] ActiveX: do not unregister events that have not been registered

Jean-Baptiste Kempf git at videolan.org
Mon Jan 14 01:17:55 CET 2013


npapi-vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Jan 14 01:16:43 2013 +0100| [1a9d1cf732962ecc5d9e8dd962248a98c5306c9a] | committer: Jean-Baptiste Kempf

ActiveX: do not unregister events that have not been registered

Not the correct fix yet, but less wrong that the current code

Close #7449 #7826

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

 activex/plugin.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/activex/plugin.cpp b/activex/plugin.cpp
index 8f9896d..a04d54d 100644
--- a/activex/plugin.cpp
+++ b/activex/plugin.cpp
@@ -289,7 +289,10 @@ VLCPlugin::~VLCPlugin()
         if( isPlaying() )
             playlist_stop();
 
+#warning FIXME
+#if 0
         player_unregister_events();
+#endif
     }
 
     delete vlcSupportErrorInfo;



More information about the vlc-commits mailing list