Edward Hervey 0e9ce593bf tsdemux: Wait for valid PCR/offset obvervations
It is quite possible that we might get PTS/DTS before the first
PCR/Offset observation.

In order to end up with valid timestamp we wait until at least one
stream was able to get a proper running-time for any PTS/DTS.
Until then, we queue up the pending buffers to push out.

Once we see a first valid timestamp, we re-evaluate the amount of
running-time elapsed (based on returned inital running-time and amount
of data/DTS queued up) for any given stream.

Taking the biggest amount of elapsed time, we set that on the packetizer
as the initial offset and recalculate all pending buffers running-time
PTS/DTS.

Note: The buffer queueing system can also be used later on for the
dvb fast start proposal (where we queue up all stream packets before
seeing PAT/PMT and then push them once we know if they belong to the
chosen program).
2013-09-28 13:15:43 +02:00
..
2013-08-17 00:25:49 +01:00
2013-08-28 13:07:27 +02:00
2013-07-29 09:42:12 +02:00
2013-08-28 13:07:27 +02:00
2013-06-05 18:29:49 +02:00
2013-09-02 23:28:38 +01:00
2013-09-12 14:14:03 +02:00
2013-07-29 09:42:12 +02:00
2013-05-18 12:21:59 +01:00