summaryrefslogtreecommitdiffstats
path: root/mp_core.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-04 21:27:08 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-01-04 21:27:08 +0000
commite57a8e10402a350f5bbbbe0769fd64e0e4e0986a (patch)
treec1bcd7ffcdf7d6ef5460aeff7020c913bdd2068b /mp_core.h
parenta7a1f395c6b883b34aeaf008c0d22d6fe3dcd1c8 (diff)
downloadmpv-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.h3
1 files changed, 3 insertions, 0 deletions
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.