diff options
author | wm4 <wm4@nowhere> | 2016-02-27 20:02:51 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-02-27 20:03:15 +0100 |
commit | 49660bcc3efa6ec6d86db30fa9d0b71b6a06b7d7 (patch) | |
tree | 4c0f3382ca90511c9c903f8e711e259f0e634d8d /player/core.h | |
parent | 183e2cda309fc81158e18b52e64008a45263212e (diff) | |
download | mpv-49660bcc3efa6ec6d86db30fa9d0b71b6a06b7d7.tar.bz2 mpv-49660bcc3efa6ec6d86db30fa9d0b71b6a06b7d7.tar.xz |
player: minor simplification
No need to pass endpts down in such a dumb way.
Also remove an outdated comment somewhere.
Diffstat (limited to 'player/core.h')
-rw-r--r-- | player/core.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |