[MPlayer-cvslog] r35477 - trunk/mplayer.c
reimar
subversion at mplayerhq.hu
Sun Nov 25 15:46:47 CET 2012
Author: reimar
Date: Sun Nov 25 15:46:47 2012
New Revision: 35477
Log:
React more smoothly to user input/window redraw requests
when playing slideshows.
Modified:
trunk/mplayer.c
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c Sun Nov 25 15:40:41 2012 (r35476)
+++ trunk/mplayer.c Sun Nov 25 15:46:47 2012 (r35477)
@@ -2293,9 +2293,9 @@ static int sleep_until_update(float *tim
// flag 256 means: libvo driver does its timing (dvb card)
if (!(vo_flags & 256)) {
- if (*time_frame > 1.5) {
+ if (*time_frame > 0.3) {
// Avoid sleeping too long without reacting to user input
- usec_sleep(1000000);
+ usec_sleep(200000);
*time_frame -= GetRelativeTime();
frame_time_remaining = 1;
} else if (*time_frame > 0.001)
More information about the MPlayer-cvslog
mailing list