Changeset 438 for dsfilters/demux_mpc/src/mpc_pin.cpp
- Timestamp:
- 03/08/09 13:56:01 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dsfilters/demux_mpc/src/mpc_pin.cpp
r379 r438 277 277 eos_delivered = false; 278 278 279 280 279 if (1) { 281 280 return DeliverNewSegment(rtStart, rtStop, rate); 282 discontinuity = true;283 284 281 } else { 285 282 DataPacket *packet = new DataPacket(); … … 292 289 queue.AddTail(packet); 293 290 ev_can_read.Set(); 294 discontinuity = true;295 291 } 296 292 } … … 369 365 outp->sync_point = TRUE; 370 366 371 // discontinuity ?372 if (discontinuity) {373 outp->discontinuity = TRUE;374 discontinuity = false;375 } else {376 outp->discontinuity = FALSE;377 }378 379 367 { 380 368 // insert into queue … … 445 433 // sync point, discontinuity ? 446 434 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 } 448 441 449 442 // do we have a time stamp ? … … 516 509 HRESULT hr; 517 510 511 // first packet is a discontinuity 512 discontinuity = true; 513 518 514 do { 519 515 if (ev_abort.Check()) break;
Note: See TracChangeset
for help on using the changeset viewer.