Mercurial > mplayer.hg
diff mp_core.h @ 30175:b7bb4a899a6b
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.
author | reimar |
---|---|
date | Mon, 04 Jan 2010 21:27:08 +0000 |
parents | 92e770f6e890 |
children | 6fb92182aff3 |
line wrap: on
line diff
--- a/mp_core.h Mon Jan 04 21:22:33 2010 +0000 +++ b/mp_core.h Mon Jan 04 21:27:08 2010 +0000 @@ -72,6 +72,9 @@ // 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.