Mercurial > mplayer.hg
comparison libvo/vo_xvidix.c @ 4133:7134f727e3c6
Still one bit of bugs fixed
author | nick |
---|---|
date | Sun, 13 Jan 2002 10:40:17 +0000 |
parents | 84ecfd03c86a |
children | 37c35f4ef9e2 |
comparison
equal
deleted
inserted
replaced
4132:84ecfd03c86a | 4133:7134f727e3c6 |
---|---|
76 { | 76 { |
77 /* FIXME: implement runtime resize/move if possible, this way is very ugly! */ | 77 /* FIXME: implement runtime resize/move if possible, this way is very ugly! */ |
78 vidix_term(); | 78 vidix_term(); |
79 vidix_preinit(vidix_name, &video_out_xvidix); | 79 vidix_preinit(vidix_name, &video_out_xvidix); |
80 if (vidix_init(image_width, image_height, window_x, window_y, | 80 if (vidix_init(image_width, image_height, window_x, window_y, |
81 window_width, window_height, image_format, image_depth, image_width, image_height) != 0) | 81 window_width, window_height, image_format, vo_depthonscreen, vo_screenwidth, vo_screenheight) != 0) |
82 { | 82 { |
83 mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s: %s\n", | 83 mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s: %s\n", |
84 vidix_name, strerror(errno)); | 84 vidix_name, strerror(errno)); |
85 vidix_term(); | 85 vidix_term(); |
86 uninit(); | 86 uninit(); |
257 image_width, image_height, image_depth); | 257 image_width, image_height, image_depth); |
258 mp_msg(MSGT_VO, MSGL_INFO, "[xvidix] window properties: pos: %dx%d, size: %dx%d\n", | 258 mp_msg(MSGT_VO, MSGL_INFO, "[xvidix] window properties: pos: %dx%d, size: %dx%d\n", |
259 window_x, window_y, window_width, window_height); | 259 window_x, window_y, window_width, window_height); |
260 | 260 |
261 if (vidix_init(image_width, image_height, window_x, window_y, window_width, | 261 if (vidix_init(image_width, image_height, window_x, window_y, window_width, |
262 window_height, format, image_depth, vo_screenwidth, vo_screenheight) != 0) | 262 window_height, format, vo_depthonscreen, vo_screenwidth, vo_screenheight) != 0) |
263 { | 263 { |
264 mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s: %s\n", | 264 mp_msg(MSGT_VO, MSGL_FATAL, "Can't initialize VIDIX driver: %s: %s\n", |
265 vidix_name, strerror(errno)); | 265 vidix_name, strerror(errno)); |
266 vidix_term(); | 266 vidix_term(); |
267 return(-1); | 267 return(-1); |