[vlc-devel] commit: wince: fix build of vouts (Geoffroy Couprie )
git version control
git at videolan.org
Thu Aug 13 18:33:09 CEST 2009
vlc | branch: master | Geoffroy Couprie <geal at videolan.org> | Thu Aug 13 18:28:12 2009 +0200| [5cb2537a3cd0e18abb7c04aa13072f4a1f51520e] | committer: Geoffroy Couprie
wince: fix build of vouts
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=5cb2537a3cd0e18abb7c04aa13072f4a1f51520e
---
modules/video_output/msw/events.c | 2 ++
modules/video_output/msw/vout.h | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/msw/events.c b/modules/video_output/msw/events.c
index 9f0686b..09718b6 100644
--- a/modules/video_output/msw/events.c
+++ b/modules/video_output/msw/events.c
@@ -1251,6 +1251,7 @@ void Win32ToggleFullscreen( vout_thread_t *p_vout )
var_SetBool( p_vout, "fullscreen", p_vout->b_fullscreen );
}
+#ifndef UNDER_CE
void DisableScreensaver( vout_thread_t *p_vout )
{
/* disable screensaver by temporarily changing system settings */
@@ -1294,6 +1295,7 @@ void RestoreScreensaver( vout_thread_t *p_vout )
p_vout->p_sys->i_spi_screensavetimeout, NULL, 0);
}
}
+#endif
int CreateEventThread( vout_thread_t *p_vout )
{
diff --git a/modules/video_output/msw/vout.h b/modules/video_output/msw/vout.h
index be29493..f9118ab 100644
--- a/modules/video_output/msw/vout.h
+++ b/modules/video_output/msw/vout.h
@@ -259,8 +259,10 @@ int DirectDrawUpdateOverlay( vout_thread_t *p_vout );
void* EventThread ( vlc_object_t *p_this );
void UpdateRects ( vout_thread_t *p_vout, bool b_force );
void Win32ToggleFullscreen ( vout_thread_t *p_vout );
+#ifndef UNDER_CE
void DisableScreensaver ( vout_thread_t *p_vout );
void RestoreScreensaver ( vout_thread_t *p_vout );
+#endif
int CreateEventThread( vout_thread_t *p_vout );
void StopEventThread ( vout_thread_t *p_vout );
More information about the vlc-devel
mailing list