gstreamer/ext/dash
Florin Apostol 74d62b9144 adaptivedemux: use GstSystemClock to all real-time calculations
A realtime clock is used in many places, such as deciding which
fragment to select at start up and deciding how long to sleep
before a fragment becomes available. For example dashdemux needs
sample the client's estimate of UTC when selecting where to start
in a live DASH stream.

The problem with dashdemux calculating the client's idea of UTC is
that it makes it difficult to create unit tests, because the passage
of time is a factor in the test.

This commit changes dashdemux and adaptivedemux to use the
GstSystemClock, so that a unit test can replace the system clock when
it needs to be able to control the clock.

This commit makes no change to the behaviour under normal usage, as
GstSystemClock is based upon the system time.

https://bugzilla.gnome.org/show_bug.cgi?id=762147
2016-04-21 16:46:09 -03:00
..
gstdash_debug.h dash: use same debug category for dashdemux and the mpd parser 2013-07-01 14:22:02 -03:00
gstdashdemux.c adaptivedemux: use GstSystemClock to all real-time calculations 2016-04-21 16:46:09 -03:00
gstdashdemux.h dashdemux: provide a default suggestedPresentationDelay 2015-10-29 13:26:46 +00:00
gstisoff.c dashdemux: Correctly assign earliest pts instead of overriding it with first offset 2015-10-02 16:00:08 +03:00
gstisoff.h dashdemux: parse the sidx index from isobmff streams 2015-01-16 15:00:11 -03:00
gstmpdparser.c mpdparser: clamp segment durations to each other and period end 2016-04-05 17:01:01 +01:00
gstmpdparser.h mpdparser: renamed gst_mpd_client_get_next_segment_availability_end_time to gst_mpd_client_get_next_segment_availability_start_time 2016-02-09 16:49:37 -03:00
gstplugin.c dashdemux: remove typefinder, move it to typefindfunctions in -base 2015-07-16 21:28:28 +01:00
Makefile.am dashdemux: fix undefined reference to gst_ntp_clock_new 2015-10-11 10:51:24 +01:00