[vlc-devel] commit: x11: remove unused function. ( Rémi Duraffort )

git version control git at videolan.org
Tue Aug 25 13:31:37 CEST 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Aug 25 12:19:44 2009 +0200| [9a8c70115c489481c00ba16bbc46a9560e67a5cb] | committer: Rémi Duraffort 

x11: remove unused function.

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

 modules/video_output/x11/xcommon.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/modules/video_output/x11/xcommon.c b/modules/video_output/x11/xcommon.c
index 7e3fca8..bcabaaf 100644
--- a/modules/video_output/x11/xcommon.c
+++ b/modules/video_output/x11/xcommon.c
@@ -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
 
 /*****************************************************************************




More information about the vlc-devel mailing list