Commit 9a8c7011 authored by Rémi Duraffort's avatar Rémi Duraffort

x11: remove unused function.

parent 9b1aee43
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#endif #endif
#include <vlc_common.h> #include <vlc_common.h>
#include <vlc_interface.h>
#include <vlc_playlist.h> #include <vlc_playlist.h>
#include <vlc_vout.h> #include <vlc_vout.h>
#include <vlc_vout_window.h> #include <vlc_vout_window.h>
...@@ -116,7 +115,6 @@ static void ToggleCursor ( vout_thread_t * ); ...@@ -116,7 +115,6 @@ static void ToggleCursor ( vout_thread_t * );
#if defined(MODULE_NAME_IS_xvmc) #if defined(MODULE_NAME_IS_xvmc)
static int XVideoGetPort ( vout_thread_t *, vlc_fourcc_t, picture_heap_t * ); 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 void RenderVideo ( vout_thread_t *, picture_t * );
static int xvmc_check_yv12( Display *display, XvPortID port ); static int xvmc_check_yv12( Display *display, XvPortID port );
static void xvmc_update_XV_DOUBLE_BUFFER( vout_thread_t *p_vout ); static void xvmc_update_XV_DOUBLE_BUFFER( vout_thread_t *p_vout );
...@@ -2063,14 +2061,6 @@ static int XVideoGetPort( 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
/***************************************************************************** /*****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment