X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=plugins%2Fsdl%2Fvout_sdl.c;h=42c46c12d0da8b388f742cf34dfb9c42e8b5d592;hb=440f9992ee947ea5fd0debbf35fdd1011c6404b3;hp=900356a4659e0e6cc764fa42ecc50e767fda606b;hpb=1ffe943ec5e34e24199546b386114bb67586855a;p=vlc diff --git a/plugins/sdl/vout_sdl.c b/plugins/sdl/vout_sdl.c index 900356a465..42c46c12d0 100644 --- a/plugins/sdl/vout_sdl.c +++ b/plugins/sdl/vout_sdl.c @@ -2,7 +2,7 @@ * vout_sdl.c: SDL video output display method ***************************************************************************** * Copyright (C) 1998, 1999, 2000 VideoLAN - * $Id: vout_sdl.c,v 1.52 2001/05/25 13:20:09 sam Exp $ + * $Id: vout_sdl.c,v 1.53 2001/05/30 17:03:12 sam Exp $ * * Authors: Samuel Hocevar * Pierre Baillet @@ -46,7 +46,6 @@ #include "threads.h" #include "mtime.h" #include "tests.h" -#include "modules.h" #include "video.h" #include "video_output.h" @@ -58,6 +57,9 @@ #include "main.h" #include "netutils.h" +#include "modules.h" +#include "modules_export.h" + /***************************************************************************** * FIXME: this file is ... * * * @@ -683,8 +685,8 @@ static int SDLOpenDisplay( vout_thread_t *p_vout ) /* FIXME: palette in 8bpp ?? */ /* Set and initialize buffers */ - vout_SetBuffers( p_vout, p_vout->p_sys->p_sdl_buf[ 0 ], - p_vout->p_sys->p_sdl_buf[ 1 ] ); + p_vout->pf_setbuffers( p_vout, p_vout->p_sys->p_sdl_buf[ 0 ], + p_vout->p_sys->p_sdl_buf[ 1 ] ); } else { @@ -696,8 +698,8 @@ static int SDLOpenDisplay( vout_thread_t *p_vout ) p_vout->i_height = p_vout->p_sys->p_display->h; p_vout->i_bytes_per_line = p_vout->p_sys->p_display->pitch; - vout_SetBuffers( p_vout, p_vout->p_sys->p_sdl_buf[ 0 ], - p_vout->p_sys->p_sdl_buf[ 1 ] ); + p_vout->pf_setbuffers( p_vout, p_vout->p_sys->p_sdl_buf[ 0 ], + p_vout->p_sys->p_sdl_buf[ 1 ] ); } p_vout->p_sys->b_reopen_display = 0;