Commit 3099949d authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

Disable non implemented code to get build bot back.

parent 71c196e1
...@@ -208,12 +208,16 @@ int16 NPP_HandleEvent( NPP instance, void * event ) ...@@ -208,12 +208,16 @@ int16 NPP_HandleEvent( NPP instance, void * event )
hasVout = p_plugin->player_has_vout(NULL); hasVout = p_plugin->player_has_vout(NULL);
if( hasVout ) if( hasVout )
{ {
#ifdef NOT_WORKING
libvlc_rectangle_t area; libvlc_rectangle_t area;
area.left = 0; area.left = 0;
area.top = 0; area.top = 0;
area.right = npwindow.width; area.right = npwindow.width;
area.bottom = npwindow.height; area.bottom = npwindow.height;
libvlc_video_redraw_rectangle(p_plugin->getMD(&ex), &area, NULL); libvlc_video_redraw_rectangle(p_plugin->getMD(&ex), &area, NULL);
#else
#warning disabled code
#endif
} }
} }
libvlc_exception_clear(&ex); libvlc_exception_clear(&ex);
...@@ -406,10 +410,12 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window ) ...@@ -406,10 +410,12 @@ NPError NPP_SetWindow( NPP instance, NPWindow* window )
clip.left = window->clipRect.left; clip.left = window->clipRect.left;
clip.bottom = window->clipRect.bottom; clip.bottom = window->clipRect.bottom;
clip.right = window->clipRect.right; clip.right = window->clipRect.right;
#ifdef NOT_WORKING
libvlc_video_set_viewport(p_vlc, p_plugin->getMD(&ex), &view, &clip, &ex); libvlc_video_set_viewport(p_vlc, p_plugin->getMD(&ex), &view, &clip, &ex);
libvlc_exception_clear(&ex); libvlc_exception_clear(&ex);
#else
#warning disabled code
#endif
/* remember new window */ /* remember new window */
p_plugin->setWindow(*window); p_plugin->setWindow(*window);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment