diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-04 21:27:08 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-01-04 21:27:08 +0000 |
commit | e57a8e10402a350f5bbbbe0769fd64e0e4e0986a (patch) | |
tree | c1bcd7ffcdf7d6ef5460aeff7020c913bdd2068b /mp_core.h | |
parent | a7a1f395c6b883b34aeaf008c0d22d6fe3dcd1c8 (diff) | |
download | mpv-e57a8e10402a350f5bbbbe0769fd64e0e4e0986a.tar.bz2 mpv-e57a8e10402a350f5bbbbe0769fd64e0e4e0986a.tar.xz |
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
Diffstat (limited to 'mp_core.h')
-rw-r--r-- | mp_core.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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. |