changeset 14041:928b03a98062

10l initial patch by Oded Shimon <ods15 at ods15.dyndns.org>
author faust3
date Thu, 25 Nov 2004 17:23:13 +0000
parents 2bdbe5ce9ea1
children 89a6c07d33be
files libvo/vo_cvidix.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_cvidix.c	Thu Nov 25 08:03:58 2004 +0000
+++ b/libvo/vo_cvidix.c	Thu Nov 25 17:23:13 2004 +0000
@@ -78,7 +78,9 @@
 static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,uint32_t d_height, uint32_t flags, char *title, uint32_t format){
   vo_fs = flags & 0x01;
   if(!vo_config_count){
-    if(vo_screenwidth && vo_screenheight)center=1;
+    if(vo_screenwidth && vo_screenheight){
+      if(!vo_geometry)center=1;
+    }
     else mp_msg(MSGT_VO, MSGL_WARN, "vo_cvidix: warn: screenwidth and height not set assuming 640x480\n");
   }
   if(!vo_screenwidth)vo_screenwidth=640;