[vlc-commits] demux: dash: track segment/periods outside of adaptation logic

Francois Cartegnie git at videolan.org
Tue Dec 30 16:25:43 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Tue Dec 30 00:42:44 2014 +0100| [4e6acd5b6200659cee42445502786f526fd74def] | committer: Francois Cartegnie

demux: dash: track segment/periods outside of adaptation logic

Allows switching logic, and fixes startSegment handling.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4e6acd5b6200659cee42445502786f526fd74def
---

 modules/demux/Makefile.am                          |    3 +-
 modules/demux/dash/DASHManager.cpp                 |   25 ++++-
 modules/demux/dash/DASHManager.h                   |    6 +-
 modules/demux/dash/SegmentTracker.cpp              |   99 ++++++++++++++++++++
 modules/demux/dash/SegmentTracker.hpp              |   70 ++++++++++++++
 modules/demux/dash/Streams.cpp                     |   12 ++-
 modules/demux/dash/Streams.hpp                     |    9 +-
 .../adaptationlogic/AbstractAdaptationLogic.cpp    |   64 +------------
 .../dash/adaptationlogic/AbstractAdaptationLogic.h |   34 ++++---
 .../adaptationlogic/AdaptationLogicFactory.cpp     |   20 ++--
 .../dash/adaptationlogic/AdaptationLogicFactory.h  |   10 +-
 .../adaptationlogic/AlwaysBestAdaptationLogic.cpp  |    4 +-
 .../adaptationlogic/AlwaysBestAdaptationLogic.h    |    2 +-
 .../AlwaysLowestAdaptationLogic.cpp                |    4 +-
 .../AlwaysLowestAdaptationLogic.hpp                |    2 +-
 .../demux/dash/adaptationlogic/IAdaptationLogic.h  |   57 -----------
 .../dash/adaptationlogic/IDownloadRateObserver.h   |    6 +-
 .../adaptationlogic/RateBasedAdaptationLogic.cpp   |   17 ++--
 .../adaptationlogic/RateBasedAdaptationLogic.h     |    4 +-
 modules/demux/dash/dash.cpp                        |   12 +--
 modules/demux/dash/mpd/SegmentInformation.cpp      |   62 +++++++++---
 modules/demux/dash/mpd/SegmentInformation.hpp      |    2 +
 modules/demux/dash/mpd/Url.cpp                     |    3 +-
 23 files changed, 332 insertions(+), 195 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=4e6acd5b6200659cee42445502786f526fd74def


More information about the vlc-commits mailing list