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:
parent
6b9a3bc1a4
commit
e063c10ea9
@ -420,6 +420,7 @@ int ds_fill_buffer(demux_stream_t *ds){
|
|||||||
while(1){
|
while(1){
|
||||||
if(ds->packs){
|
if(ds->packs){
|
||||||
demux_packet_t *p=ds->first;
|
demux_packet_t *p=ds->first;
|
||||||
|
#if 0
|
||||||
if(demux->reference_clock != MP_NOPTS_VALUE) {
|
if(demux->reference_clock != MP_NOPTS_VALUE) {
|
||||||
if((p->pts != MP_NOPTS_VALUE) && (p->pts > demux->reference_clock)
|
if((p->pts != MP_NOPTS_VALUE) && (p->pts > demux->reference_clock)
|
||||||
&& (ds->packs < MAX_ACUMULATED_PACKETS)) {
|
&& (ds->packs < MAX_ACUMULATED_PACKETS)) {
|
||||||
@ -427,6 +428,7 @@ int ds_fill_buffer(demux_stream_t *ds){
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
// copy useful data:
|
// copy useful data:
|
||||||
ds->buffer=p->buffer;
|
ds->buffer=p->buffer;
|
||||||
ds->buffer_pos=0;
|
ds->buffer_pos=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user