gstreamer/gst-libs/gst
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
..
adaptivedemux adaptivedemux: use GstSystemClock to all real-time calculations 2016-04-21 16:46:09 -03:00
audio base/audio/video: Install headers and pkg-config files 2016-01-22 12:39:48 +02:00
base aggregator: remove duplicated test of flow_return in pad_chain_internal 2016-04-04 10:56:33 +03:00
basecamerabinsrc Remove obsolete Android build cruft 2015-04-26 18:59:32 +01:00
codecparsers codecparsers: mpegvideo: Parse more slice header fields 2016-04-15 01:22:52 +10:00
gl gl/cocoa: Fix incompatible type warning 2016-04-20 10:11:03 +03:00
insertbin bad: use new gst_element_class_add_static_pad_template() 2016-03-24 14:56:51 +02:00
interfaces docs: remove some leftover 'Since 0.10.x' markers 2016-02-03 21:16:18 +00:00
mpegts libs: g-i: fix init section to avoid compiler warnings 2016-01-19 08:40:35 +00:00
player player: Add support for multiview settings 2016-04-21 14:58:18 +03:00
uridownloader dashdemux: add support for HTTP HEAD method of time sync 2015-08-14 06:47:21 -03:00
video videoaggregator: plug caps leak 2016-04-18 13:46:55 -03:00
wayland libs: Don't install headers and pc files for libgstwayland/badvideo/badbase 2014-07-11 09:33:57 +02:00
gettext.h Fix FSF address 2012-11-04 00:09:59 +00:00
glib-compat-private.h Update GLib dependency to 2.40.0 2015-10-02 22:24:19 +03:00
gst-i18n-plugin.h Fix FSF address 2012-11-04 00:09:59 +00:00
Makefile.am audio: Move audioaggregator base class to a library 2016-01-22 12:39:48 +02:00