asfdemux: fixes for streaming mode
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Sat, 2 May 2009 14:08:03 +0000 (16:08 +0200)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Tue, 5 May 2009 20:41:30 +0000 (22:41 +0200)
commitb6d4fb9e4f4e562a7de1691b37cded2859b86235
tree55fbe2017ef7128dffca6f1106e23c02e747bed2
parent2bd14c7153bf7cb5322f1eeb96d314f87e6b3a7b
asfdemux: fixes for streaming mode

* Improve newsegment handling, e.g. upstream might live in TIME.
* Only send newsegment if we have needed info.
* Avoid reading past end of data section.
gst/asfdemux/gstasfdemux.c
gst/asfdemux/gstasfdemux.h