[vlc-commits] demux: adaptative: fix splitted bandwidth stats

Francois Cartegnie git at videolan.org
Mon Nov 2 18:37:15 CET 2015


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Mon Nov  2 18:11:50 2015 +0100| [2741ffe68d62fd2cdb27b7fd062b6799df56316b] | committer: Francois Cartegnie

demux: adaptative: fix splitted bandwidth stats

And avoids creating stats from non http chunks (smooth)

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

 modules/demux/adaptative/PlaylistManager.cpp         |   18 +++++++++++-------
 modules/demux/adaptative/PlaylistManager.h           |    4 +++-
 modules/demux/adaptative/Streams.cpp                 |   14 +++-----------
 modules/demux/adaptative/Streams.hpp                 |   13 ++-----------
 modules/demux/adaptative/http/Chunk.cpp              |   11 +++++++----
 modules/demux/adaptative/http/Chunk.h                |    2 +-
 .../demux/adaptative/http/HTTPConnectionManager.cpp  |   14 +++++++++++++-
 .../demux/adaptative/http/HTTPConnectionManager.h    |    8 +++++++-
 .../demux/adaptative/logic/IDownloadRateObserver.h   |   13 +++++--------
 modules/demux/adaptative/tools/Retrieve.cpp          |    3 +--
 modules/demux/dash/DASHManager.cpp                   |   10 +++++++---
 modules/demux/dash/DASHManager.h                     |    3 ++-
 modules/demux/dash/DASHStream.cpp                    |    5 ++---
 modules/demux/dash/DASHStream.hpp                    |    3 +--
 modules/demux/hls/HLSManager.cpp                     |   10 +++++++---
 modules/demux/hls/HLSManager.hpp                     |    3 ++-
 modules/demux/hls/HLSStreams.cpp                     |    5 ++---
 modules/demux/hls/HLSStreams.hpp                     |    3 +--
 modules/demux/smooth/SmoothManager.cpp               |    5 +++--
 modules/demux/smooth/SmoothManager.hpp               |    3 ++-
 modules/demux/smooth/SmoothStream.cpp                |    5 ++---
 modules/demux/smooth/SmoothStream.hpp                |    3 +--
 22 files changed, 85 insertions(+), 73 deletions(-)

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


More information about the vlc-commits mailing list