comparison mplayer.c @ 20900:b0f2e9a16bb1

Move xscreensaver_heartbeat call next to vo check_events
author uau
date Tue, 14 Nov 2006 09:52:49 +0000
parents c00d8c1aa0ab
children bfb6eacd9c4a
comparison
equal deleted inserted replaced
20899:c00d8c1aa0ab 20900:b0f2e9a16bb1
4420 if(use_gui) guiEventHandling(); 4420 if(use_gui) guiEventHandling();
4421 #endif 4421 #endif
4422 4422
4423 current_module="vo_check_events"; 4423 current_module="vo_check_events";
4424 if (vo_config_count) video_out->check_events(); 4424 if (vo_config_count) video_out->check_events();
4425
4426 #ifdef HAVE_X11
4427 if (stop_xscreensaver) {
4428 current_module = "stop_xscreensaver";
4429 xscreensaver_heartbeat();
4430 }
4431 #endif
4425 4432
4426 frame_time_remaining = sleep_until_update(&time_frame, &aq_sleep_time); 4433 frame_time_remaining = sleep_until_update(&time_frame, &aq_sleep_time);
4427 4434
4428 //====================== FLIP PAGE (VIDEO BLT): ========================= 4435 //====================== FLIP PAGE (VIDEO BLT): =========================
4429 4436
5419 } 5426 }
5420 current_module=NULL; 5427 current_module=NULL;
5421 } 5428 }
5422 #endif 5429 #endif
5423 5430
5424 #ifdef HAVE_X11
5425 if (stop_xscreensaver && sh_video) {
5426 current_module="stop_xscreensaver";
5427 xscreensaver_heartbeat();
5428 current_module=NULL;
5429 }
5430 #endif
5431
5432 // DVD sub: 5431 // DVD sub:
5433 if(vo_config_count && vo_spudec) { 5432 if(vo_config_count && vo_spudec) {
5434 unsigned char* packet=NULL; 5433 unsigned char* packet=NULL;
5435 int len,timestamp; 5434 int len,timestamp;
5436 current_module="spudec"; 5435 current_module="spudec";