changeset 28512:ad0fcde5f320

Remove now unused vo_calc_drwXY function.
author reimar
date Thu, 12 Feb 2009 18:03:38 +0000
parents db19e31a2c7c
children 9f085caed8c2
files libvo/x11_common.c libvo/x11_common.h
diffstat 2 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/x11_common.c	Thu Feb 12 17:40:53 2009 +0000
+++ b/libvo/x11_common.c	Thu Feb 12 18:03:38 2009 +0000
@@ -1876,23 +1876,6 @@
     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)
 {
--- a/libvo/x11_common.h	Thu Feb 12 17:40:53 2009 +0000
+++ b/libvo/x11_common.h	Thu Feb 12 18:03:38 2009 +0000
@@ -147,6 +147,5 @@
 void update_xinerama_info(void);
 
 int vo_find_depth_from_visuals(Display *dpy, int screen, Visual **visual_return);
-void vo_calc_drwXY(uint32_t *drwX, uint32_t *drwY);
 
 #endif /* MPLAYER_X11_COMMON_H */