hlsdemux: Send NEWSEGMENT events
authorEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 1 Aug 2011 16:48:03 +0000 (18:48 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Mon, 1 Aug 2011 16:48:03 +0000 (18:48 +0200)
commit5572e638589a10fd91bc6beff96585c2bb65d379
tree6b94cd8714f1960fa505a6ad752e7911b5d7b45e
parentadfb090b59a7f8537e27a6926cb21a5a26dd7354
hlsdemux: Send NEWSEGMENT events

Previously hlsdemux wasn't sending out any newsegment.
Here we push a GST_FORMAT_TIME newsegment, and whenever possible we
try to indicate the proper start time.

This allows downstream elements to relay the start/time values properly
to the sinks, allowing better stream switching.
gst/hls/gsthlsdemux.c
gst/hls/gsthlsdemux.h