[vlc-devel] commit: Disable non implemented code to get build bot back. (Pierre d' Herbemont )

git version control git at videolan.org
Thu Jun 4 08:23:56 CEST 2009


vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Wed Jun  3 23:23:27 2009 -0700| [3099949d9071f523f81fa1577b98dcf41805793c] | committer: Pierre d'Herbemont 

Disable non implemented code to get build bot back.

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

 projects/mozilla/vlcshell.cpp |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/projects/mozilla/vlcshell.cpp b/projects/mozilla/vlcshell.cpp
index e0b937b..2455d8c 100644
--- a/projects/mozilla/vlcshell.cpp
+++ b/projects/mozilla/vlcshell.cpp
@@ -208,12 +208,16 @@ int16 NPP_HandleEvent( NPP instance, void * event )
                     hasVout = p_plugin->player_has_vout(NULL);
                     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(&ex), &area, NULL);
+#else
+#warning disabled code
+#endif
                     }
                 }
                 libvlc_exception_clear(&ex);
@@ -406,10 +410,12 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
         clip.left    = window->clipRect.left;
         clip.bottom  = window->clipRect.bottom;
         clip.right   = window->clipRect.right;
-
+#ifdef NOT_WORKING
         libvlc_video_set_viewport(p_vlc, p_plugin->getMD(&ex), &view, &clip, &ex);
         libvlc_exception_clear(&ex);
-
+#else
+#warning disabled code
+#endif        
         /* remember new window */
         p_plugin->setWindow(*window);
     }




More information about the vlc-devel mailing list