aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo
diff options
context:
space:
mode:
authorGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-25 17:23:13 +0000
committerGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-25 17:23:13 +0000
commitde02c050dd43559167357c09495eb8afd84eb994 (patch)
tree73a96a2288229779507defb82d8c14b5ed5f7e0b /libvo
parente61afb91c62be983b1a5a2e65c3018169b4cee31 (diff)
10l initial patch by Oded Shimon <ods15 at ods15.dyndns.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14042 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_cvidix.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libvo/vo_cvidix.c b/libvo/vo_cvidix.c
index 8f9807831c..a0f654122e 100644
--- a/libvo/vo_cvidix.c
+++ b/libvo/vo_cvidix.c
@@ -78,7 +78,9 @@ static uint32_t setup_vidix(){
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;