oggdemux: push headers when activating chains
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 8 Jan 2010 15:57:40 +0000 (16:57 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 8 Jan 2010 15:57:40 +0000 (16:57 +0100)
commit0201326db12ac1dfd224385789ae36bbe62f052e
tree4ae9693d1ba06e9071674b934691067e7150ce42
parent17e1d8d20afa25e3f03264f70491ab2798ae287b
oggdemux: push headers when activating chains

Keep a list of headers for each stream of a chain. When a chain is activated,
push the headers before pushing the data so that decoders can sync.
Fix seeking in chains, take the chain start time into account when comparing
timestamps.

See #606382
ext/ogg/gstoggdemux.c
ext/ogg/gstoggstream.h