Mercurial > mplayer.hg
changeset 33147:df7f89ce12a7
Disable timing/sleep directly after seek.
author | reimar |
---|---|
date | Thu, 07 Apr 2011 22:43:45 +0000 |
parents | 3a1f250bb285 |
children | 5f334d3bc566 |
files | mplayer.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mplayer.c Thu Apr 07 22:30:18 2011 +0000 +++ b/mplayer.c Thu Apr 07 22:43:45 2011 +0000 @@ -3704,6 +3704,8 @@ } else { int frame_time_remaining = 0; int blit_frame = 1; + // skip timing after seek + int skip_timing = mpctx->startup_decode_retry > 0; /*========================== PLAY VIDEO ============================*/ @@ -3766,6 +3768,7 @@ } } + if (!skip_timing) frame_time_remaining = sleep_until_update(&mpctx->time_frame, &aq_sleep_time); //====================== FLIP PAGE (VIDEO BLT): =========================