From 49660bcc3efa6ec6d86db30fa9d0b71b6a06b7d7 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 27 Feb 2016 20:02:51 +0100 Subject: player: minor simplification No need to pass endpts down in such a dumb way. Also remove an outdated comment somewhere. --- player/core.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'player/core.h') diff --git a/player/core.h b/player/core.h index 2696823cf9..f26cacbb51 100644 --- a/player/core.h +++ b/player/core.h @@ -424,7 +424,7 @@ void reinit_audio_chain(struct MPContext *mpctx); int init_audio_decoder(struct MPContext *mpctx, struct track *track); int reinit_audio_filters(struct MPContext *mpctx); double playing_audio_pts(struct MPContext *mpctx); -void fill_audio_out_buffers(struct MPContext *mpctx, double endpts); +void fill_audio_out_buffers(struct MPContext *mpctx); double written_audio_pts(struct MPContext *mpctx); void clear_audio_output_buffers(struct MPContext *mpctx); void update_playback_speed(struct MPContext *mpctx); @@ -552,7 +552,7 @@ int init_video_decoder(struct MPContext *mpctx, struct track *track); int reinit_video_chain(struct MPContext *mpctx); int reinit_video_chain_src(struct MPContext *mpctx, struct lavfi_pad *src); int reinit_video_filters(struct MPContext *mpctx); -void write_video(struct MPContext *mpctx, double endpts); +void write_video(struct MPContext *mpctx); void mp_force_video_refresh(struct MPContext *mpctx); void uninit_video_out(struct MPContext *mpctx); void uninit_video_chain(struct MPContext *mpctx); -- cgit v1.2.3