Mercurial > mplayer.hg
diff mplayer.c @ 35383:fa7a7312c47a
React more smoothly to user input/window redraw requests
when playing slideshows.
author | reimar |
---|---|
date | Sun, 25 Nov 2012 14:46:47 +0000 |
parents | 5ba6eb55d311 |
children | 6c9c58ad43a3 |
line wrap: on
line diff
--- a/mplayer.c Sun Nov 25 14:40:41 2012 +0000 +++ b/mplayer.c Sun Nov 25 14:46:47 2012 +0000 @@ -2293,9 +2293,9 @@ // 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)