diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-23 10:31:44 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-02-23 10:31:44 +0000 |
commit | 8f0095af652989ad8b2c873713ef0dfcc40353b7 (patch) | |
tree | fcf4a5d507c5c846552745dc1abd3e776c8476ee /subreader.h | |
parent | 5f2b3c6c67508a61b7441d1ebe6960114c620f9a (diff) | |
download | mpv-8f0095af652989ad8b2c873713ef0dfcc40353b7.tar.bz2 mpv-8f0095af652989ad8b2c873713ef0dfcc40353b7.tar.xz |
New member in demuxer_t: reference_clock.
If it's != MP_NOPTS_VALUE ds_fill_buffer() will keep
on demuxing until the pts of the next_pts is <= reference_clock.
It guarantees the compliance with the buffering model indicated
by the transmitter of the multiplex and a long-time stability
of playback (at least for me).
In any case up to a maximum of 64 packets are accumulated to prevent
memory hogging and leaks.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26069 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subreader.h')
0 files changed, 0 insertions, 0 deletions