From 58e7d0a30be40efbdce93d9a79b6a7def4d36451 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 24 May 2015 18:00:34 +0200 Subject: 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). --- player/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'player/core.h') 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 -- cgit v1.2.3