Mercurial > mplayer.hg
comparison libvo/vo_xvidix.c @ 6017:12460040d86b
partial fix
author | arpi |
---|---|
date | Wed, 08 May 2002 20:53:00 +0000 |
parents | be9cd7d845c2 |
children | 421781c5b128 |
comparison
equal
deleted
inserted
replaced
6016:be9cd7d845c2 | 6017:12460040d86b |
---|---|
216 mp_msg(MSGT_VO, MSGL_FATAL, "Unknown image format: %s\n", | 216 mp_msg(MSGT_VO, MSGL_FATAL, "Unknown image format: %s\n", |
217 vo_format_name(format)); | 217 vo_format_name(format)); |
218 break; | 218 break; |
219 } | 219 } |
220 | 220 |
221 if (X_already_started) | |
222 return(-1); | |
223 if (!vo_init()) | 221 if (!vo_init()) |
224 return(-1); | 222 return(-1); |
225 | 223 |
226 aspect_save_orig(width, height); | 224 aspect_save_orig(width, height); |
227 aspect_save_prescale(d_width, d_height); | 225 aspect_save_prescale(d_width, d_height); |
234 | 232 |
235 // vo_fs = flags&0x01; | 233 // vo_fs = flags&0x01; |
236 // if (vo_fs) | 234 // if (vo_fs) |
237 // { vo_old_width=d_width; vo_old_height=d_height; } | 235 // { vo_old_width=d_width; vo_old_height=d_height; } |
238 | 236 |
239 X_already_started++; | |
240 | |
241 /* from xmga.c */ | 237 /* from xmga.c */ |
242 bgColor = 0x0L; | 238 bgColor = 0x0L; |
243 switch(vo_depthonscreen) | 239 switch(vo_depthonscreen) |
244 { | 240 { |
245 case 32: | 241 case 32: |