summaryrefslogtreecommitdiffstats
path: root/audio/audio.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-06-27 15:02:41 +0200
committerwm4 <wm4@nowhere>2016-06-27 15:12:21 +0200
commit4ce53025cb475408bfb27a56a57322d9d0c48a4f (patch)
tree69f5b57518c80166334cf98a897e595bce1a6ee8 /audio/audio.h
parent3e58ce96acaec14adb840875c10b2b543be0b1e3 (diff)
downloadmpv-4ce53025cb475408bfb27a56a57322d9d0c48a4f.tar.bz2
mpv-4ce53025cb475408bfb27a56a57322d9d0c48a4f.tar.xz
audio: add a helper for getting frame end PTS
Although I don't see any use for it yet, why not.
Diffstat (limited to 'audio/audio.h')
-rw-r--r--audio/audio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio.h b/audio/audio.h
index c469f7a21e..e126e93b66 100644
--- a/audio/audio.h
+++ b/audio/audio.h
@@ -73,6 +73,7 @@ void mp_audio_copy(struct mp_audio *dst, int dst_offset,
void mp_audio_copy_attributes(struct mp_audio *dst, struct mp_audio *src);
void mp_audio_skip_samples(struct mp_audio *data, int samples);
void mp_audio_clip_timestamps(struct mp_audio *f, double start, double end);
+double mp_audio_end_pts(struct mp_audio *data);
bool mp_audio_is_writeable(struct mp_audio *data);
int mp_audio_make_writeable(struct mp_audio *data);