]> git.sesse.net Git - vlc/commitdiff
Trivial OSX compile fix
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 15 Feb 2010 19:35:24 +0000 (21:35 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 15 Feb 2010 19:35:24 +0000 (21:35 +0200)
projects/mozilla/vlcshell.cpp

index cd3efa898ef263896f083919b80911f3f54af248..bff669d6edec1e6c44894e6d621a9c77a15ffacd 100644 (file)
@@ -199,20 +199,20 @@ int16 NPP_HandleEvent( NPP instance, void * event )
 
                 if( p_plugin->playlist_isplaying() )
                 {
-                    hasVout = p_plugin->player_has_vout(NULL);
+                    hasVout = p_plugin->player_has_vout();
+#if 0
                     if( hasVout )
                     {
-#ifdef NOT_WORKING
                         libvlc_rectangle_t area;
                         area.left = 0;
                         area.top = 0;
                         area.right = npwindow.width;
                         area.bottom = npwindow.height;
                         libvlc_video_redraw_rectangle(p_plugin->getMD(), &area, NULL);
+                    }
 #else
 #warning disabled code
 #endif
-                    }
                 }
 
                 if( ! hasVout )