summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_xv.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index dd1bbdc65c..78285757da 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -281,10 +281,8 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width, uint32
vo_mouse_autohide=1;
- // Quick fix for handling the geometry option.
- if(!geometry(&vo_dx, &vo_dy, vo_screenwidth, vo_screenheight, d_width, d_height,0)) {
- vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2;
- }
+ vo_dx=( vo_screenwidth - d_width ) / 2; vo_dy=( vo_screenheight - d_height ) / 2;
+ geometry(&vo_dx, &vo_dy, vo_screenwidth, vo_screenheight, d_width, d_height,0))
vo_dwidth=d_width; vo_dheight=d_height;
#ifdef HAVE_XF86VM