[vlc-commits] demux: adaptive: remove chunk to segment reference & refcounting

Francois Cartegnie git at videolan.org
Mon Mar 30 16:15:52 CEST 2020


vlc/vlc-3.0 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu May 23 16:38:08 2019 +0200| [72dad1a3b604e3ca11c1dc708f2f0c2b68c8afd8] | committer: Francois Cartegnie

demux: adaptive: remove chunk to segment reference & refcounting

Only copy all properties so we can prune playlist at will

(cherry picked from commit ea1838ef6b8401a690b07d4fdd6c3d034496c186)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=72dad1a3b604e3ca11c1dc708f2f0c2b68c8afd8
---

 modules/demux/adaptive/playlist/Segment.cpp        | 22 +++++++++------
 modules/demux/adaptive/playlist/Segment.h          |  8 ++----
 modules/demux/adaptive/playlist/SegmentChunk.cpp   |  9 +-----
 modules/demux/adaptive/playlist/SegmentChunk.hpp   |  7 ++---
 modules/demux/adaptive/playlist/SegmentList.cpp    |  3 --
 modules/demux/dash/mpd/DASHSegment.cpp             | 33 ++++++++++++++++++----
 modules/demux/dash/mpd/DASHSegment.h               | 14 +++++++--
 modules/demux/hls/playlist/HLSSegment.cpp          |  1 -
 .../demux/smooth/playlist/ForgedInitSegment.cpp    |  2 +-
 modules/demux/smooth/playlist/SmoothSegment.cpp    | 30 ++++++++++++++++++--
 modules/demux/smooth/playlist/SmoothSegment.hpp    | 14 +++++++--
 11 files changed, 98 insertions(+), 45 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commitdiff;h=72dad1a3b604e3ca11c1dc708f2f0c2b68c8afd8


More information about the vlc-commits mailing list