hlsdemux: Always flush the internal proxy pads before downloading
authorThiago Santos <ts.santos@sisa.samsung.com>
Wed, 30 Apr 2014 20:59:28 +0000 (17:59 -0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 1 May 2014 14:18:16 +0000 (16:18 +0200)
commitaea14053d1a979312e605543956e93a756f82b49
tree6c6f964916e1e75e672e3ea5d0a43d041d3c9d18
parentcad1bb32c8dc34290524e029cb27a930eb84fa78
hlsdemux: Always flush the internal proxy pads before downloading

hlsdemux can't rely on the source to push flushes on a seek on ready
as that might not make sense. So always resort to flushing the
internal proxy pads by pushing flush events from the source's src pad.

Also as the seeking is not required anymore, only seek if there is
really a byte range to be used. And store a ref to the source's
src pad to avoid doing get_static_pad for every fragment.
ext/hls/gsthlsdemux.c
ext/hls/gsthlsdemux.h