summaryrefslogtreecommitdiffstats
path: root/libvo/x11_common.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-12 18:03:38 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-12 18:03:38 +0000
commitdbc106f4dae041961e812cbaaebaf561d667b957 (patch)
treeaf4a2bb6a4457515fd73f7795c91dc7f94eb7364 /libvo/x11_common.c
parent694c3dc03f157eb62442fb2f24118f2ae4432ec7 (diff)
downloadmpv-dbc106f4dae041961e812cbaaebaf561d667b957.tar.bz2
mpv-dbc106f4dae041961e812cbaaebaf561d667b957.tar.xz
Remove now unused vo_calc_drwXY function.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28547 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/x11_common.c')
-rw-r--r--libvo/x11_common.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/libvo/x11_common.c b/libvo/x11_common.c
index aeb8a6069f..df72ebbfdb 100644
--- a/libvo/x11_common.c
+++ b/libvo/x11_common.c
@@ -1876,23 +1876,6 @@ uint32_t vo_x11_get_equalizer(char *name, int *value)
return VO_TRUE;
}
-void vo_calc_drwXY(uint32_t *drwX, uint32_t *drwY)
-{
- *drwX = *drwY = 0;
- if (vo_fs) {
- aspect(&vo_dwidth, &vo_dheight, A_ZOOM);
- vo_dwidth = FFMIN(vo_dwidth, vo_screenwidth);
- vo_dheight = FFMIN(vo_dheight, vo_screenheight);
- *drwX = (vo_screenwidth - vo_dwidth) / 2;
- *drwY = (vo_screenheight - vo_dheight) / 2;
- mp_msg(MSGT_VO, MSGL_V, "[vo-fs] dx: %d dy: %d dw: %d dh: %d\n",
- *drwX, *drwY, vo_dwidth, vo_dheight);
- } else if (WinID == 0) {
- *drwX = vo_dx;
- *drwY = vo_dy;
- }
-}
-
#ifdef CONFIG_XV
int vo_xv_set_eq(uint32_t xv_port, char *name, int value)
{