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:52:37 +0000 (16:52 +0300)
commitea90ceac011567b1b5696696e23a039f88737513
tree7bcadee2e8aa29dd9080f010151f33c975bd5884
parentdab074899e100151c3124f653e384fa6fceb14c6
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