Mercurial > mplayer.hg
comparison libvo/vo_xmga.c @ 324:720c640332c8
Szebb es jobb screensaver-kikapcsolo resz
xmga, xv, x11 support (sdl comming soon)
author | laaz |
---|---|
date | Tue, 10 Apr 2001 00:00:04 +0000 |
parents | 6ec8f6ab6cb1 |
children | 1f7c824033fb |
comparison
equal
deleted
inserted
replaced
323:639dec99c0fd | 324:720c640332c8 |
---|---|
272 if(mga_init()) return -1; | 272 if(mga_init()) return -1; |
273 | 273 |
274 XFlush( mDisplay ); | 274 XFlush( mDisplay ); |
275 XSync( mDisplay,False ); | 275 XSync( mDisplay,False ); |
276 | 276 |
277 saver_off(mDisplay); | |
278 | |
277 return 0; | 279 return 0; |
278 } | 280 } |
279 | 281 |
280 static const vo_info_t* get_info( void ) | 282 static const vo_info_t* get_info( void ) |
281 { return &vo_info; } | 283 { return &vo_info; } |
282 | 284 |
283 | 285 |
284 static void | 286 static void |
285 uninit(void) | 287 uninit(void) |
286 { | 288 { |
289 saver_on(mDisplay); | |
287 ioctl( f,MGA_VID_OFF,0 ); | 290 ioctl( f,MGA_VID_OFF,0 ); |
288 printf("vo: uninit!\n"); | 291 printf("vo: uninit!\n"); |
289 } | 292 } |