matroskamux: reduce newsegment event spam and set discont flag where needed
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 13 Oct 2010 23:11:27 +0000 (00:11 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 14 Oct 2010 13:00:59 +0000 (14:00 +0100)
commit7a8ebc4a798599ed42197fb33660e1bc54844604
tree2acce99aae1c090fab89e9754ca1e3b6066e21c2
parent84e47e579bf1383a73d15351476fcc2eec8e0fd9
matroskamux: reduce newsegment event spam and set discont flag where needed

Only send newsegment events with new positions downstream when actually
needed, instead of sending multiple newsegment events with new seek
positions in a row. Also set the discont flag on buffers after a
discontinuity.
gst/matroska/ebml-write.c
gst/matroska/ebml-write.h