Mercurial > mplayer.hg
changeset 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 | b85d632c3fe1 |
children | 9c7bba653bfb |
files | mplayer.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
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)