dashdemux: download the next fragment with smaller timestamp
authorThiago Santos <thiago.sousa.santos@collabora.com>
Fri, 1 Feb 2013 05:10:15 +0000 (02:10 -0300)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 21:14:39 +0000 (18:14 -0300)
commit83c0e1e25db9ab975db504c22c99ca7739d8d889
tree86f3094f837d0910d25fa808af89d45db56ee6fc
parentdbd6bde9d1f1eff465efc117e1eb58615853f2b0
dashdemux: download the next fragment with smaller timestamp

Instead of downloading 1 fragment per stream per download loop,
select the stream with the earlier timestamp and get a fragment
only for that one.

The old algorithm would lead to problems when the fragment durations
were too different for streams.
ext/dash/gstdashdemux.c
ext/dash/gstdashdemux.h
ext/dash/gstmpdparser.c
ext/dash/gstmpdparser.h