Mercurial > mplayer.hg
comparison libvo/vo_mga.c @ 4447:87447fe383a1
change init to config in vo_mga like in the other vo_ modules -- fixes crash caused by the changeover
author | rfelker |
---|---|
date | Fri, 01 Feb 2002 02:43:01 +0000 |
parents | df8e0f71cc3c |
children | 5fbfd8545c3b |
comparison
equal
deleted
inserted
replaced
4446:d2808c58e633 | 4447:87447fe383a1 |
---|---|
53 | 53 |
54 | 54 |
55 #include "mga_common.c" | 55 #include "mga_common.c" |
56 | 56 |
57 static uint32_t | 57 static uint32_t |
58 init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format,const vo_tune_info_t *info) | 58 config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format,const vo_tune_info_t *info) |
59 { | 59 { |
60 char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid"; | 60 char *devname=vo_subdevice?vo_subdevice:"/dev/mga_vid"; |
61 | 61 |
62 if(vo_screenwidth && vo_screenheight){ | 62 if(vo_screenwidth && vo_screenheight){ |
63 aspect_save_orig(width,height); | 63 aspect_save_orig(width,height); |