changeset 26071:449ad51bd8c7

in ds_fill_buffer() disabled the code that demuxes until the arrival of the right reference_clock
author nicodvb
date Mon, 25 Feb 2008 22:29:45 +0000
parents 77aa6f108f20
children 99bc12329d38
files libmpdemux/demuxer.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demuxer.c	Mon Feb 25 18:30:02 2008 +0000
+++ b/libmpdemux/demuxer.c	Mon Feb 25 22:29:45 2008 +0000
@@ -420,6 +420,7 @@
   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 @@
               continue;
         }
       }
+#endif
       // copy useful data:
       ds->buffer=p->buffer;
       ds->buffer_pos=0;