]> git.sesse.net Git - vlc/commitdiff
x11: remove unused function.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 25 Aug 2009 10:19:44 +0000 (12:19 +0200)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 25 Aug 2009 10:39:37 +0000 (12:39 +0200)
modules/video_output/x11/xcommon.c

index 7e3fca87bf5822c62d0bb2e66bed991a397f42e5..bcabaaf62fde76eadd9a6288f940e8fbd5ef3011 100644 (file)
@@ -32,7 +32,6 @@
 #endif
 
 #include <vlc_common.h>
-#include <vlc_interface.h>
 #include <vlc_playlist.h>
 #include <vlc_vout.h>
 #include <vlc_vout_window.h>
@@ -116,7 +115,6 @@ static void ToggleCursor   ( vout_thread_t * );
 
 #if defined(MODULE_NAME_IS_xvmc)
 static int  XVideoGetPort    ( vout_thread_t *, vlc_fourcc_t, picture_heap_t * );
-static void XVideoReleasePort( vout_thread_t *, int );
 static void RenderVideo    ( vout_thread_t *, picture_t * );
 static int  xvmc_check_yv12( Display *display, XvPortID port );
 static void xvmc_update_XV_DOUBLE_BUFFER( vout_thread_t *p_vout );
@@ -2063,14 +2061,6 @@ static int XVideoGetPort( vout_thread_t *p_vout,
 
     return i_selected_port;
 }
-
-/*****************************************************************************
- * XVideoReleasePort: release YUV12 port
- *****************************************************************************/
-static void XVideoReleasePort( vout_thread_t *p_vout, int i_port )
-{
-    XvUngrabPort( p_vout->p_sys->p_display, i_port, CurrentTime );
-}
 #endif
 
 /*****************************************************************************