dashdemux: avoid busy-looping when waiting for new fragment
authorThiago Santos <thiagoss@osg.samsung.com>
Tue, 12 May 2015 16:41:19 +0000 (13:41 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Wed, 13 May 2015 16:39:32 +0000 (13:39 -0300)
commitf4789d04303ffd4f85dab96bd918b3cc7a431483
tree8a434daf9bfe4774415def5279f7480fecf47fa0
parent23ad922b6481d20ad466de8382787f51673dff89
dashdemux: avoid busy-looping when waiting for new fragment

When all fragments have already been downloaded on a live stream
dashdemux would busy loop as the default implementation of
has_next_fragment would return TRUE. Implement it to correctly
signal if adaptivedemux should wait for the manifest update before
trying to get new fragments.
ext/dash/gstdashdemux.c
ext/dash/gstmpdparser.c
ext/dash/gstmpdparser.h