diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-24 10:58:40 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-04-24 10:58:40 +0000 |
commit | 6c4d9bfe5127da2a4e2afbe1d6e585ebeb7c5949 (patch) | |
tree | 6057e1a4875492c40543d4ac2e43adbbd53afff2 /libmpdemux/demuxer.h | |
parent | 4b45ec30e4b8ced93aa10792aa18a8f96b3cd104 (diff) | |
download | mpv-6c4d9bfe5127da2a4e2afbe1d6e585ebeb7c5949.tar.bz2 mpv-6c4d9bfe5127da2a4e2afbe1d6e585ebeb7c5949.tar.xz |
4 - Implement a better way to calculate current audio pts and use it for
audio decoded with ad_libvorbis, ad_ffmpeg and ad_faad.
Patch by Uoti Urpala
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18243 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/demuxer.h')
-rw-r--r-- | libmpdemux/demuxer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/demuxer.h b/libmpdemux/demuxer.h index 939a3b5577..35c3ac3982 100644 --- a/libmpdemux/demuxer.h +++ b/libmpdemux/demuxer.h @@ -284,6 +284,7 @@ inline static int demux_getc(demux_stream_t *ds){ void ds_free_packs(demux_stream_t *ds); int ds_get_packet(demux_stream_t *ds,unsigned char **start); +int ds_get_packet_pts(demux_stream_t *ds, unsigned char **start, double *pts); int ds_get_packet_sub(demux_stream_t *ds,unsigned char **start); float ds_get_next_pts(demux_stream_t *ds); |