Mercurial > mplayer.hg
comparison mplayer.c @ 20894:8753befb60ad
move vo event check together with gui event check
author | uau |
---|---|
date | Tue, 14 Nov 2006 06:25:02 +0000 |
parents | 5ded625e07ad |
children | 798356663969 |
comparison
equal
deleted
inserted
replaced
20893:ecb27a14d88d | 20894:8753befb60ad |
---|---|
4364 | 4364 |
4365 #ifdef HAVE_NEW_GUI | 4365 #ifdef HAVE_NEW_GUI |
4366 if(use_gui) guiEventHandling(); | 4366 if(use_gui) guiEventHandling(); |
4367 #endif | 4367 #endif |
4368 | 4368 |
4369 current_module="vo_check_events"; | |
4370 if (vo_config_count) video_out->check_events(); | |
4371 | |
4369 current_module="calc_sleep_time"; | 4372 current_module="calc_sleep_time"; |
4370 | 4373 |
4371 #if 0 | 4374 #if 0 |
4372 { // debug frame dropping code | 4375 { // debug frame dropping code |
4373 float delay=audio_out->get_delay(); | 4376 float delay=audio_out->get_delay(); |
4450 // flag 256 means: libvo driver does its timing (dvb card) | 4453 // flag 256 means: libvo driver does its timing (dvb card) |
4451 if(time_frame>0.001 && !(vo_flags&256)) | 4454 if(time_frame>0.001 && !(vo_flags&256)) |
4452 time_frame = timing_sleep(time_frame); | 4455 time_frame = timing_sleep(time_frame); |
4453 | 4456 |
4454 //====================== FLIP PAGE (VIDEO BLT): ========================= | 4457 //====================== FLIP PAGE (VIDEO BLT): ========================= |
4455 | |
4456 current_module="vo_check_events"; | |
4457 if(vo_config_count) video_out->check_events(); | |
4458 | 4458 |
4459 current_module="flip_page"; | 4459 current_module="flip_page"; |
4460 if (!frame_time_remaining) { | 4460 if (!frame_time_remaining) { |
4461 | 4461 |
4462 // FIXME: add size based support for -endpos | 4462 // FIXME: add size based support for -endpos |