]> git.sesse.net Git - vlc/commitdiff
activex: our vlc instance should already have been initialized
authorJean-Paul Saman <jean-paul.saman@m2x.nl>
Mon, 15 Mar 2010 12:18:27 +0000 (13:18 +0100)
committerJean-Paul Saman <jean-paul.saman@m2x.nl>
Thu, 18 Mar 2010 10:16:04 +0000 (11:16 +0100)
Signed-off-by: Jean-Paul Saman <jean-paul.saman@m2x.nl>
projects/activex/plugin.h

index 9c1003221a62ce2b1ac328a4ebf3a8dadc2c803d..412bdcedf3cc077434dcb115583c2624c5483888 100644 (file)
@@ -301,15 +301,11 @@ public:
     }
     void playlist_play()
     {
-        if( !_p_libvlc )
-            initVLC();
         if( _p_mplayer || playlist_select(0) )
             libvlc_media_player_play(_p_mplayer);
     }
     void playlist_play_item(int idx)
     {
-        if( !_p_libvlc )
-            initVLC();
         if( playlist_select(idx) )
             libvlc_media_player_play(_p_mplayer);
     }