[MPlayer-cvslog] r33234 - trunk/mplayer.c
reimar
subversion at mplayerhq.hu
Fri Apr 8 00:43:45 CEST 2011
Author: reimar
Date: Fri Apr 8 00:43:45 2011
New Revision: 33234
Log:
Disable timing/sleep directly after seek.
Modified:
trunk/mplayer.c
Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c Fri Apr 8 00:30:18 2011 (r33233)
+++ trunk/mplayer.c Fri Apr 8 00:43:45 2011 (r33234)
@@ -3704,6 +3704,8 @@ if(!mpctx->sh_video) {
} 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(!mpctx->sh_video) {
}
}
+ if (!skip_timing)
frame_time_remaining = sleep_until_update(&mpctx->time_frame, &aq_sleep_time);
//====================== FLIP PAGE (VIDEO BLT): =========================
More information about the MPlayer-cvslog
mailing list