summaryrefslogtreecommitdiffstats
path: root/player/core.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-24 18:00:34 +0200
committerwm4 <wm4@nowhere>2015-05-24 23:27:23 +0200
commit58e7d0a30be40efbdce93d9a79b6a7def4d36451 (patch)
treed7ddc0defa40ddbbc5bb1ab1ba65a46d481cebd6 /player/core.h
parent0d0444fed02fb0f1ebd2cc7ab98a0ce5fd8740d7 (diff)
downloadmpv-58e7d0a30be40efbdce93d9a79b6a7def4d36451.tar.bz2
mpv-58e7d0a30be40efbdce93d9a79b6a7def4d36451.tar.xz
player: add function to compute past frame durations
And use it for the estimated-vf-fps property (it should be doing the same as before).
Diffstat (limited to 'player/core.h')
-rw-r--r--player/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/player/core.h b/player/core.h
index 64fd4ec1a5..2ae6a4ae65 100644
--- a/player/core.h
+++ b/player/core.h
@@ -466,6 +466,7 @@ void mp_idle(struct MPContext *mpctx);
void idle_loop(struct MPContext *mpctx);
void handle_force_window(struct MPContext *mpctx, bool reconfig);
void add_frame_pts(struct MPContext *mpctx, double pts);
+int get_past_frame_durations(struct MPContext *mpctx, double *fd, int num);
void seek_to_last_frame(struct MPContext *mpctx);
// scripting.c