git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9b1aee4
)
x11: remove unused function.
author
Rémi Duraffort
<ivoire@videolan.org>
Tue, 25 Aug 2009 10:19:44 +0000
(12:19 +0200)
committer
Rémi Duraffort
<ivoire@videolan.org>
Tue, 25 Aug 2009 10:39:37 +0000
(12:39 +0200)
modules/video_output/x11/xcommon.c
patch
|
blob
|
history
diff --git
a/modules/video_output/x11/xcommon.c
b/modules/video_output/x11/xcommon.c
index
7e3fca8
..
bcabaaf
100644
(file)
--- a/
modules/video_output/x11/xcommon.c
+++ b/
modules/video_output/x11/xcommon.c
@@
-32,7
+32,6
@@
#endif
#include <vlc_common.h>
#endif
#include <vlc_common.h>
-#include <vlc_interface.h>
#include <vlc_playlist.h>
#include <vlc_vout.h>
#include <vlc_vout_window.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 * );
#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 );
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;
}
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
/*****************************************************************************
#endif
/*****************************************************************************