matroskamux: set correct buffer offsets after seeks
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 13 Oct 2010 22:46:02 +0000 (23:46 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 14 Oct 2010 11:48:33 +0000 (12:48 +0100)
commit84e47e579bf1383a73d15351476fcc2eec8e0fd9
treebed6947f84da876d22cf921da45abfca8959e0b3
parent6ff3dfe9463f32f04e9282c784bb8e0e2c60988d
matroskamux: set correct buffer offsets after seeks

Re-use the existing 'pos' field maintained by ebml writer to set
buffer offsets. This also makes sure that we set the right offsets
on buffers after a seek (e.g. when writing an index at the end).
gst/matroska/ebml-write.c
gst/matroska/ebml-write.h