changeset 13355:0afa7253462d

Changed the default again so that the initial video position is in the upper left corner like in vo fbdev[2]. Reason: vo cvidix does not know the screen resolution unlike you specify it with screen[w/h], resulting in the video being displayed on a random position.
author faust3
date Thu, 16 Sep 2004 18:08:17 +0000
parents 30f18f2e1653
children f5fc90320aef
files libvo/vo_cvidix.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/vo_cvidix.c	Thu Sep 16 11:00:37 2004 +0000
+++ b/libvo/vo_cvidix.c	Thu Sep 16 18:08:17 2004 +0000
@@ -47,7 +47,7 @@
 static uint32_t setup_vidix(){
   int x=vo_dx,y=vo_dy;
   aspect(&vo_dwidth,&vo_dheight,vo_fs ? A_ZOOM : A_NOZOOM);  
-  if(!vo_geometry || vo_fs){
+  if(vo_fs){
     if(vo_dwidth <= vo_screenwidth)x = (vo_screenwidth - vo_dwidth)/2;
     else x=0;
     if(vo_dheight <= vo_screenheight)y = (vo_screenheight - vo_dheight)/2;