Ignore:
Timestamp:
03/08/09 13:56:01 (15 years ago)
Author:
radscorpion
Message:

Fixes for SV7 seeking.
Rebuilt with latest libraries

File:
1 edited

Legend:

Unmodified
Added
Removed
  • dsfilters/demux_mpc/src/mpc_pin.cpp

    r379 r438  
    277277        eos_delivered = false;
    278278
    279 
    280279        if (1) {
    281280                return DeliverNewSegment(rtStart, rtStop, rate);
    282                 discontinuity = true;
    283 
    284281        } else {
    285282                DataPacket      *packet = new DataPacket();
     
    292289                        queue.AddTail(packet);
    293290                        ev_can_read.Set();
    294                         discontinuity = true;
    295291                }
    296292        }
     
    369365        outp->sync_point = TRUE;
    370366
    371         // discontinuity ?
    372         if (discontinuity) {
    373                 outp->discontinuity = TRUE;
    374                 discontinuity = false;
    375         } else {
    376                 outp->discontinuity = FALSE;
    377         }
    378 
    379367        {
    380368                // insert into queue
     
    445433        // sync point, discontinuity ?
    446434        if (packet.sync_point)          { sample->SetSyncPoint(TRUE);     } else { sample->SetSyncPoint(FALSE);     }
    447         if (packet.discontinuity)       { sample->SetDiscontinuity(TRUE); } else { sample->SetDiscontinuity(FALSE); }
     435        if (discontinuity)      {
     436                discontinuity = false;
     437                sample->SetDiscontinuity(TRUE);
     438        } else {
     439                sample->SetDiscontinuity(FALSE);
     440        }
    448441
    449442        // do we have a time stamp ?
     
    516509                                HRESULT         hr;
    517510
     511                                // first packet is a discontinuity
     512                                discontinuity = true;
     513
    518514                                do {
    519515                                        if (ev_abort.Check()) break;
Note: See TracChangeset for help on using the changeset viewer.