dashdemux: support downloading segments in reverse order
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Wed, 6 Aug 2014 15:11:20 +0000 (18:11 +0300)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 7 Aug 2014 13:57:26 +0000 (16:57 +0300)
commiteb6c2b8d9943a0e4efa4165aa13da2ca6ef9d7db
tree692d8d06fe4c47319d9e2d176d0355bf72c9dfb3
parent46f0632794666ec2abc2f94e80d56628daca6c4d
dashdemux: support downloading segments in reverse order

When a seek with a negative rate is requested, find the target
segment where gstsegment.stop belongs in and then download from
this segment backwards until the first segment.

This allows proper reverse playback.
ext/dash/gstdashdemux.c
ext/dash/gstmpdparser.c
ext/dash/gstmpdparser.h