diff options
author | Edward Hervey <edward@collabora.com> | 2013-07-29 08:10:07 +0200 |
---|---|---|
committer | Edward Hervey <edward@collabora.com> | 2013-09-28 13:15:43 +0200 |
commit | 0e9ce593bf72b05b70da7ecceec0db86ceb17d08 (patch) | |
tree | bee2d159aec3fdda40b8a4c35c00a15494a113ef /gst-plugins-bad.spec.in | |
parent | a4ee1abb1532968a56db4a79e5bdb0a31521ccad (diff) | |
download | gstreamer-plugins-bad-0e9ce593bf72b05b70da7ecceec0db86ceb17d08.tar.gz |
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).
Diffstat (limited to 'gst-plugins-bad.spec.in')
0 files changed, 0 insertions, 0 deletions