From eb9d2039460e413fe2f4f191ad0ddafde3be27df Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 1 May 2014 23:53:18 +0200 Subject: video: change everything Change how the video decoding loop works. The structure should now be a bit easier to follow. The interactions on format changes are (probably) simpler. This also aligns the decoding loop with future planned changes, such as moving various things to separate threads. --- player/core.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index bd5f174075..f9b55957db 100644 --- a/player/core.h +++ b/player/core.h @@ -466,7 +466,8 @@ void build_cue_timeline(struct MPContext *mpctx); // video.c int reinit_video_chain(struct MPContext *mpctx); int reinit_video_filters(struct MPContext *mpctx); -double update_video(struct MPContext *mpctx, double endpts); +int update_video(struct MPContext *mpctx, double endpts, bool reconfig_ok, + double *frame_duration); void mp_force_video_refresh(struct MPContext *mpctx); void update_fps(struct MPContext *mpctx); void video_execute_format_change(struct MPContext *mpctx); -- cgit v1.2.3