dashdemux: fix playing of single-segment media streams
authorGianluca Gennari <gennarone@gmail.com>
Thu, 18 Oct 2012 16:49:53 +0000 (18:49 +0200)
committerThiago Santos <thiago.sousa.santos@collabora.com>
Wed, 8 May 2013 21:14:02 +0000 (18:14 -0300)
commitb580ee8cd73367cefda5650b4c0caa555acb2601
treed87481dc2e0cd5fbd520f4f4ccd4b2a582d55d5c
parent5ade664680fbdb5d6f12b46c30448fa8fec0b7e6
dashdemux: fix playing of single-segment media streams

other fixes:
- fixed a buffering bug: now we stop buffering when we reach the end of manifest
- now gst_mpd_client_get_target_duration() always returns a valid duration
(in case of single-segment streams, we return either Period duration or mediaPresentation duration)
TODO: support SegmentTimeline
ext/dash/gstdashdemux.c
ext/dash/gstmpdparser.c