From e57a8e10402a350f5bbbbe0769fd64e0e4e0986a Mon Sep 17 00:00:00 2001 From: reimar Date: Mon, 4 Jan 2010 21:27:08 +0000 Subject: Also reset time_frame and next_frame_time on reset, it makes no sense to process the sleep before playing the frame seeked to and can be annoying when the user tries to escape a series of "stuck" frames with a huge duration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30217 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mp_core.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mp_core.h') diff --git a/mp_core.h b/mp_core.h index 2fa98e57d4..dc08bff175 100644 --- a/mp_core.h +++ b/mp_core.h @@ -72,6 +72,9 @@ typedef struct MPContext { // struct. int num_buffered_frames; + // how long until we need to display the "current" frame + float time_frame; + // AV sync: the next frame should be shown when the audio out has this // much (in seconds) buffered data left. Increased when more data is // written to the ao, decreased when moving to the next frame. -- cgit v1.2.3