0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

in ds_fill_buffer() disabled the code that demuxes until the arrival of the right reference_clock

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26103 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2008-02-25 22:29:45 +00:00
parent 6b9a3bc1a4
commit e063c10ea9

View File

@ -420,6 +420,7 @@ int ds_fill_buffer(demux_stream_t *ds){
while(1){
if(ds->packs){
demux_packet_t *p=ds->first;
#if 0
if(demux->reference_clock != MP_NOPTS_VALUE) {
if((p->pts != MP_NOPTS_VALUE) && (p->pts > demux->reference_clock)
&& (ds->packs < MAX_ACUMULATED_PACKETS)) {
@ -427,6 +428,7 @@ int ds_fill_buffer(demux_stream_t *ds){
continue;
}
}
#endif
// copy useful data:
ds->buffer=p->buffer;
ds->buffer_pos=0;