[vlc-commits] [Git][videolan/vlc][3.0.x] 150 commits: adaptive: chunk: fix spurious condition

Hugo Beauzée-Luyssen (@chouquette) gitlab at videolan.org
Tue Jan 4 08:10:18 UTC 2022



Hugo Beauzée-Luyssen pushed to branch 3.0.x at VideoLAN / VLC


Commits:
5c1348da by Alexandre Janniaux at 2022-01-03T10:12:38+01:00
adaptive: chunk: fix spurious condition

(cherry picked from commit 54056a364365f8426d84483b08f1db907ede33df)

- - - - -
9d1c8415 by Alexandre Janniaux at 2022-01-03T10:12:38+01:00
adaptive: downloader: remove useless savecancel

Cancellation is not used at all for this thread in the Downloader code
and the thread is owned by the Downloader itself.

(cherry picked from commit 1ec799f3ddd8def60b41c725693489f6d38c9eae)

- - - - -
dc78cd26 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: change downloader lock contention

don't hold lock while downloading, allowing to early cancel

(cherry picked from commit dae323a91070adcec52769cc4a1c7c6d5d5ee572)

- - - - -
3430ce4b by Francois Cartegnie at 2022-01-03T10:12:38+01:00
adaptive: simplify connection factory selection

(cherry picked from commit f352c422338a5bf68a29c252e4570622c3896400)

- - - - -
29d288af by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: move computation to representation

(cherry picked from commit 7d4c094510c2269c1689f78abd008f93f67b74cf)

- - - - -
fa753ee2 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: simplify subsegments

(cherry picked from commit 961c06b95899d0b9f6246d0e2e7e6860c29eb72e)

- - - - -
fe2a671f by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: download and use index once

(cherry picked from commit 4cf6ba8e06e9e1f75a6a9d0509463cbbc24bf136)

- - - - -
6ad6ac10 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: simplify segment methods and avoid temp lists

(cherry picked from commit 844f58a8abee1196ff9c3bcc7af6d511edb1a377)

- - - - -
3264291c by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: rework profile specific types for global timeline

(cherry picked from commit b15abfbf556c53b23a6bd86d3fd4ac4a4accec7d)

- - - - -
cb9552ba by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: adapt buffering logic for any timeline

(cherry picked from commit ceef5624d6fc5ccfdfb8b18ed5e03d1832cca8aa)

- - - - -
90d72f9f by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: remove unused getMediaSegments

(cherry picked from commit ff4b81dd12f1692cc460380dbcd43273e9e0b37a)

- - - - -
05e0a3ac by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: add stream switch debug

(cherry picked from commit e4f18c55761380099dc81b2810956d8f11f72a60)

- - - - -
0471d1aa by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: move unique mixin

(cherry picked from commit 14fa7b3e76ec2e25d2c671b586726a28834a8b2f)

- - - - -
305bc6c9 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: rework attributes inheritance to match siblings first

(cherry picked from commit 573752cfad0e024806e29ccef23986aaff0166db)

- - - - -
c32e7816 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: smooth: use simple timescale member for forged segments

(cherry picked from commit d3549e4fadb7e838b1314357d5d3e6c335f465ca)

- - - - -
fe81edd2 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: remove timescaleable

(cherry picked from commit c336bf114e081f320da91ef26ef6f069d7880bb7)

- - - - -
a430c53b by Hugo Beauzée-Luyssen at 2022-01-03T10:12:38+01:00
adaptive: BufferingLogic: Fix variable shadowing

(cherry picked from commit 0390f40ca7700c1b262333ef34733473608086ad)

- - - - -
f62b0c87 by Hugo Beauzée-Luyssen at 2022-01-03T10:12:38+01:00
adaptive: playlist: Fix list cleanup

Calling front() on an empty container is undefined behavior

(cherry picked from commit 7e305be5d43d5dc2aa6f62e09a31fa24af822314)

- - - - -
a7cd8399 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: use static_cast

(cherry picked from commit 04bd233760a57cb57a33f07130167c1399c16697)

- - - - -
08cbfa90 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: fix include

(cherry picked from commit 9f25d92b25e27c763d1bf354aef10c26421b7d33)

- - - - -
19952ee2 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: fix segmentlist default duration

(cherry picked from commit b3e43b51f6d7134a74cbbfc039e095954b1d0b1b)

- - - - -
18989cb7 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: allow to override default resources

(cherry picked from commit 5357940b0eb4feeb39a4ad1847f3ae5a4601a705)

- - - - -
8a89cf50 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: playlist is no longer abstract

(cherry picked from commit 5b73d3b813abf257bdb9ab1fe002ce30d631270c)

- - - - -
89a428d0 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: fix timeline ahead time

(cherry picked from commit dfcc76295c96ca0dc90c969b4ecec82d87463d7b)

- - - - -
cbf4eb89 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: fix timeline total length after truncation

(cherry picked from commit 84a82941ac205fe639d6e8661951cae8dd77cabd)

- - - - -
b8d2a055 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: reactivate stream using playback time, not buffers pcr

(cherry picked from commit 1388783c7e4c6037ca2f7bca3d661e2b3173990b)

- - - - -
f4133a00 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: smooth: set timeshift buffer

(cherry picked from commit dad3c2d7d702cbe4e0454858bb4090fd61e98c3f)

- - - - -
b2091a43 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: check active streams and don't deselect last

(cherry picked from commit 14529c484736e23f1e8b380a0c39e5a05a2063c6)

- - - - -
d3cf12e9 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: use enum classes for statuses, fix return value

(cherry picked from commit 5afa6c17d9938f9069c56ed46f3d6d9c4a9e1e4d)

- - - - -
1af1bbbf by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: use enum class

(cherry picked from commit b0a0cd26760a3a32de6a49d2f1840db00fbf5d44)

- - - - -
dcaa8232 by Francois Cartegnie at 2022-01-03T10:12:38+01:00
demux: adaptive: inheritables: remove copy assignment

(cherry picked from commit ad34063b4c9a7461748171be0c3c9e0383ee5194)

- - - - -
9a3918e9 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove segment classid

(cherry picked from commit 1f07df28663123ddd757ffa7df146b41ce152f3d)

- - - - -
b6d14f7c by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: replace typedef

(cherry picked from commit 9e4a0070f785965d11b4b83a2e3df31b95682314)

- - - - -
50f97cc7 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove unused member

(cherry picked from commit 1197d7335a13128d647d3cdcbc6387091eb993f3)

- - - - -
cf7613db by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: move definition

(cherry picked from commit aabb85b7aa20368d441f2e9ef56e2ab1d303a932)

- - - - -
3576a02e by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: strip off segmentlist ts offset

(cherry picked from commit dcb64419f0f35c1628bce77780d0697b3c98cc69)

- - - - -
d1d0a7ae by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: simplify segmentbase

(cherry picked from commit a7006c698c943d58da2d84033a28fe86d4758154)

- - - - -
d3652633 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: use nullptr

(cherry picked from commit fdb307387efd1e7f41313881e4582cf2ac5bb2cc)

- - - - -
8619ff66 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: replace now single segment vector in template

(cherry picked from commit cdf4d24370b8edb0d4975cab73cab6f8cd5c1d70)

- - - - -
8203c745 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: fix smooth template overloading

regression by refactoring changes in b15abfbf556c53b23a6bd86d3fd4ac4a4accec7d

(cherry picked from commit 0e1610fa42fd9cb9843e1347c7e994bdcdaee144)

- - - - -
c508a4a3 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: pass sequence to chunks

(cherry picked from commit 94e9250b5db88499ba5955835e88db7719fefac6)

- - - - -
bb577da2 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: use override specifier

(cherry picked from commit 70dc21e257a8d06b6afdd62d25a3f5c89a6b7e2d)

- - - - -
3c124b0f by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add missing override specifiers

(cherry picked from commit b1aad929d4e15d01d9badd60a6c08e69ffe339b6)

- - - - -
7979c08d by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: re-check out of range timeline

(cherry picked from commit 91ba5afbb5beb24c4a42e518f0b91fa2724f4788)

- - - - -
1b7f22c1 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: dash: fix debug overloading

(cherry picked from commit c9732cfeeb31fc616f092276d4db2cf45ae92768)

- - - - -
db3087a3 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove useless overload

(cherry picked from commit 3c099d21956adda9f7cfe5ab3363500b73795636)

- - - - -
2c593de6 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: fix empty commandqueue duration

(cherry picked from commit 33874d6d903ad6407849a563bb7a0f7e9bfd9f7f)

- - - - -
cc30e916 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: fix commands comparison

strictly weak ordering was not preserved with same pts pkts
(assumed a & b were compared in stored order)

Causing corruption with non standard split IFrames as < 2^16
PES size.

refs #25380

(cherry picked from commit e3ae28bcb236c51a3a1102354d93901b40e91e55)

- - - - -
bea315e9 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add missing override specifier

(cherry picked from commit 14e226fe6fdebbb71fece9b3967dfb19d4447456)

- - - - -
272dd5df by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: make commandsqueue to use only abstract objects

(cherry picked from commit 817cb824b9534017484fdae3f19048ec94b90b4d)

- - - - -
fbe4f23a by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: refactor getting available buffering

(cherry picked from commit 37f75e10ccd43949c71eaa76887a8a853d0dc3c1)

- - - - -
cd6e0863 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: change tracker Events

(cherry picked from commit 79ca05e2e228fa7c62a101bedcf3292284713740)

- - - - -
b58d6582 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add position event

(cherry picked from commit 1fced8e7f70f5407df9fd02325446a7849992393)

- - - - -
7677318f by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: handle position change through event

(cherry picked from commit 704c48efa653154d1373bcdb380b033db804d7dc)

- - - - -
9d995da7 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: enable pause

(cherry picked from commit f8ac5e2c52f85d5e85d3b74de5aae9be321c74d7)

- - - - -
6c967a85 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: dash: add Token replacement helper

(cherry picked from commit 0841a8cc3a351e2dec1812c8495a676c046ac0ae)

- - - - -
a1c0636b by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: dash: use uri token replacement helper

fixes escaping and missing format strings

(cherry picked from commit 2f757ca5149a7e1a1d3b83ef12d5b183e99b5fe8)

- - - - -
19fab534 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: dash: remove useless subclass

(cherry picked from commit a79c4f637dd2cd6c0f921696a646f85edc0b1a51)

- - - - -
e4edf6b3 by Hugo Beauzée-Luyssen at 2022-01-03T10:12:39+01:00
adaptive: Use std::string::npos instead of a literal -1

MSVC complains about a negative number being assigned to an unsigned
variable

(cherry picked from commit eaebf7d18c332316b89a8a1e550cae241a42b3eb)

- - - - -
97bef2f5 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: hls: strip invalid padding chars from attributes

(cherry picked from commit 698a857c775224e0c4c17e870fd8e2c31e6aa648)

- - - - -
c81830c3 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: hls: end attribute when closing quotes

(cherry picked from commit e53149b6b194109bf05ab91087acb38f52b5fed9)

- - - - -
dc37835c by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: hls: handle broken EXTINF

ex: https://livestream.peer5.com/video/kite/index.m3u8
(cherry picked from commit d97111e384bb3ea39fb3eda83c5a74d1ce7b20a3)

- - - - -
8681d053 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: rename libtool conflicting objects

(cherry picked from commit 42dd2b06d87034a944f732768f1319d4e1e2f5dc)

- - - - -
3c4d208e by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: split build with static lib

(cherry picked from commit 692dde04ad106f692a2ea0397f29c4106f86f1eb)

- - - - -
3568a389 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
tests: adaptive: run tests against static lib

(cherry picked from commit b4c035ca978c3196c5fb6c4d7d9458747f303093)

- - - - -
725562b5 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add more unit tests

(cherry picked from commit fc25e9b42b2833f015b4b753c7a74061c88299e2)

- - - - -
fd8635e5 by Alexandre Janniaux at 2022-01-03T10:12:39+01:00
adaptive: SegmentBase: remove unused lambda capture

(cherry picked from commit 1c6c7f23b236f7daedd6473d966dc9cfbf92e41d)

- - - - -
3888d24e by Alexandre Janniaux at 2022-01-03T10:12:39+01:00
adaptive: Segment: mark debug as override

Fix warning:

../../modules/demux/dash/mp4/../mpd/../../adaptive/playlist/Segment.h:103:30: warning: 'debug' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
                virtual void debug(vlc_object_t *,int = 0) const;

(cherry picked from commit f65953ef4db7b14ae99884dd6a5ca62dc1991837)

- - - - -
060b849a by Alexandre Janniaux at 2022-01-03T10:12:39+01:00
adaptive: AbstractAdapatiationLogic: mark getPeriodDuration as override

Fix the warning:

../../modules/demux/adaptive/logic/AbstractAdaptationLogic.h:51:45: warning: 'updateDownloadRate' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
                virtual void                updateDownloadRate     (const ID &, size_t, vlc_tick_t);
                                            ^

(cherry picked from commit e57bd2aca049bc9ad2a014c2a552b6c68235a5ed)

- - - - -
79d0ac83 by Alexandre Janniaux at 2022-01-03T10:12:39+01:00
adaptive: BasePeriod: mark getPeriodDuration as override

Fix the warning:

../../modules/demux/smooth/playlist/../../adaptive/playlist/BasePeriod.h:49:36: warning: 'getPeriodDuration' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
                virtual vlc_tick_t getPeriodDuration() const;
                                   ^

(cherry picked from commit 2906b93d005de3212bca73896ac8143cd4138286)

- - - - -
901eecfb by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove unused global drain

(cherry picked from commit 72e0a0015252defec31c4fdbc54c8d521caa61d6)

- - - - -
e502ee15 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: create description list for declaring es

(cherry picked from commit 57a1fb0ee608afca54bc5e60ccda69027b9e3043)

- - - - -
dfad1d18 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: don't declare ES type that can't be selected by core

(cherry picked from commit 19617f1061b57b07994403a45144a948502e27ce)

- - - - -
fac65fae by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: don't wait min rebuffering on discontinuity

(cherry picked from commit 3c3536afd72bc2a380b801764b221f5c76948979)

- - - - -
3bd62d44 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: improve demux restart debugging

(cherry picked from commit 76c2e6ab6bf371d4b6d85e1861def569745b06f4)

- - - - -
a659db41 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: constify getRepresentations()

(cherry picked from commit a5863ff7a95a44545bf0b4c7fdfce6e6e71c5ca7)

- - - - -
87d99a88 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: constify getByID()

(cherry picked from commit ec9f0e8da2bc54c652ed76ac00689907c6b8c56b)

- - - - -
9b7dd267 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove sets copies

(cherry picked from commit 7c09a9349d322729bb4fc0d2a0c26293c5151a2d)

- - - - -
649e9c21 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: evaluate unknown demux restart condition on switch event

Format change needs a restart, but when demuxer has been probed, we
only need to handle restart/reprobing when switching variants.

(cherry picked from commit 854f425603c01dc2aaf124420104a21f561e594d)

- - - - -
f490f5e0 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add type to retrieved chunks

(cherry picked from commit 1ef4b4f824b744437a7b397c5289f56742e08114)

- - - - -
d49d39fb by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: only use segments for bw estimation

(cherry picked from commit 152883b6980fb7f6369c16a69e2bc1d65a7e120a)

- - - - -
f5d95dff by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add missing common attributes

(cherry picked from commit 56251ef310918e43a0b2c2ac04c370e867fcabd6)

- - - - -
a73c6642 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: handle AR/rates in codecdesc

(cherry picked from commit 9aec7be7e7b2796913c795beef53109e0ba380ca)

- - - - -
d3c0a11b by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: have intheritance on commonattributes

(cherry picked from commit 630f86677df6767162c86609d19ea01ad10ca46b)

- - - - -
d8a78806 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add buffering target info

(cherry picked from commit f2e76681111e82d84c616b6a7c1a718583d89b2c)

- - - - -
a34e688b by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: compute latency from request

(cherry picked from commit e8c855dea80be91bba876e4c4709e4022e479f6e)

- - - - -
c7f5bba3 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: pass latency to stats

(cherry picked from commit b32c7d9635b6f0445a55d638d3be3445acfd99c1)

- - - - -
c4e4a67d by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add preparsing case

(cherry picked from commit 8450f76040f6ab59f278ca873fa4681088ea4b91)

- - - - -
c1721d7c by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: improve stream buffer debugging

(cherry picked from commit 20bb1529cd74ce63b7506a8634cb9313159935c1)

- - - - -
6676647f by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: split chunk computation & processing

(cherry picked from commit cfdfa43bab1a358bb8d592c7053fb230dfa83f1f)

- - - - -
1e2d13b0 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add common chunk/chunk source interface

(cherry picked from commit 51293726f526342aa9805b292a3dfceb32e84003)

- - - - -
37a986cf by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: make chunk data probe able

(cherry picked from commit ddfbcedb00fabbae5716121804166658dc0e2767)

- - - - -
d4bbabf8 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: detect format change by from segmentchunk

(cherry picked from commit 126cb62893a177916d4c863da89252edf4e7c75a)

- - - - -
c7b0c476 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove MimeDemuxer

(cherry picked from commit b9f4904d44e9a8971cbd5b66a6610f4da7286cd6)

- - - - -
c9649bff by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove streams/source ContentType propagation

(cherry picked from commit cf71d9197fce6a7a1e160e66d9dc6f68c64638fa)

- - - - -
0da5e9d2 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add missing virtual destructor

(cherry picked from commit 39297dbf18f1e6a5252a75a50c912395eb8bdfd1)

- - - - -
a5662fa4 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: handle startsegment number offset

ref #25518

(cherry picked from commit fc6790c950f274d4eae8fbc2d331627a9aaa5b0b)

- - - - -
de58fc83 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: fix canceling current chunk without full download

read data could be infinite (stream)
refs #25562

(cherry picked from commit fbebef63e6cb9f2f200c6012bbdb0dbc4fa3aa9b)

- - - - -
84620c0d by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: fix probing with multiple ID3

regression regarding #24237 after chunk probe only change

(cherry picked from commit 4e87c5494cfd34d85fa42d4f5e6bbf094f2c6f9b)

- - - - -
ce6e0961 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: no more need for probing fallback

(cherry picked from commit b293c8eb3edd55e9e2ca0047e16c94c60a417a6c)

- - - - -
ad7ba716 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add namespace on time

(cherry picked from commit 04f2b9562a0af67a47046faf6ef45c10f5373f1d)

- - - - -
b9df56c5 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add inheritable wrapper deleter

(cherry picked from commit 7744c8b69d3d32de6dda061c62c7eab7b77db6b9)

- - - - -
d4dade4f by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add getter for chunk type

(cherry picked from commit da69089732b850ef27f0b3e55f45c76cad5e883b)

- - - - -
4d6319bd by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: always create chunk with range

(cherry picked from commit a5a67754cc0e059eb383273be09466d19845c809)

- - - - -
fc7bf9ec by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: delegate chunk source creation to manager

(cherry picked from commit 3de1584a8dfda97871aa0696629ffc06f7864f94)

- - - - -
6e70b9ff by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove left indirect returns since lock removal

(cherry picked from commit b18243fc04d1f9c124ed69ac2320ae4fdddc98f7)

- - - - -
2b9b2790 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: fix possible bogus huge buffer level

(cherry picked from commit 0d457f141f59752640df7f7e2483523607620f83)

- - - - -
9964c700 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: change commands factory ownership

(cherry picked from commit 5924cb42a5c71a2583b606ec4c49c4c9ddb5f2c4)

- - - - -
667fc99f by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add commandsqueue interface

(cherry picked from commit 6665407d0a2435ce5379a71779024c924296b6f8)

- - - - -
e53d914a by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove unused code

(cherry picked from commit 81086b74f72a1a84f27b616962d9cc6e2aadb34c)

- - - - -
78c3b4aa by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: improve restart condition debugging

(cherry picked from commit e1def12f549a3625a31749a87e35632ea1f3948f)

- - - - -
6c52663c by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: simplify logic case with single rep

(cherry picked from commit 36eb43a78218a02f6f46c31fb73aa8f5dbcf2765)

- - - - -
2f37d0fe by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: improve commands latency

(cherry picked from commit e469eadd94ee79ec427aa2d8b01162719f9b5625)

- - - - -
efb32248 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add type on abstract es

(cherry picked from commit 5eb8cc953a4bc64182fa1ca423462c48c54832d6)

- - - - -
f092d959 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add EsType to queued commands

(cherry picked from commit e5413d5f56f60da4aed1e95a4bda3589cc17df34)

- - - - -
ac9b1267 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: move esidentifier to abstract class

(cherry picked from commit 2e1d434508b5341b6db708412764f0a60e3f6851)

- - - - -
9c15397a by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add segment displaytime

(cherry picked from commit e6766256d492104dc954be39aeba107c3c8f57fb)

- - - - -
6467b3dc by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: hls: compute pdt time for pre discontinuity

(cherry picked from commit 8aeb1940264e488324753b6a898dddaec93c3b60)

- - - - -
88b7116f by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: replace utcTime with displaytime

(cherry picked from commit 9f4df658434416624de39b5393be626f171ae6cb)

- - - - -
a26feabe by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add time event on segment change

(cherry picked from commit 5efc4c4a4f3e9a4e9ac31371546e7e0cc3a3a8cb)

- - - - -
a29267fe by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: provide way to signal end of commands group

Having to deal with es_Add or Del sequences forces the command
queue to expect another type of input on the esout before
recycling es, creating delay in multiple cases.

(cherry picked from commit 077d5489adfe1288f33e564a420892f9686d40b5)

- - - - -
c909bf90 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: early fail on unsupported format

(cherry picked from commit 590b7bb1ef8f118a8f55521a76701910e89df99f)

- - - - -
87652318 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove unused code

(cherry picked from commit e97d492a8c886ad8a91da419daef088a5ff274fd)

- - - - -
40ae2576 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: use enum class for format

(cherry picked from commit 7fd99fbf0b674983929a7e8c064277af8218a4ec)

- - - - -
114cdded by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: hls: handle packed MP3 and AC-3

refs #25781

(cherry picked from commit fb6354a1541a2d429d12b1f312688d52df4cc120)

- - - - -
393aa67b by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: hls: add support for Ogg streams

Ignore the worst standard for the worse
refs #25781

(cherry picked from commit baca970d740ba35b4653d96fb57573e8c72b4783)

- - - - -
a743c12a by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: start with lowest non audio on NearOptimal Logic

(cherry picked from commit e469c589a7c1ec61ff38d746ff8ef073ac33b9c3)

- - - - -
4c65e88c by Francois Cartegnie at 2022-01-03T10:12:39+01:00
adaptive: add missing virtual keyword

(cherry picked from commit 708a187152f6bdb6949af9a18d61fa757eaa61c9)

- - - - -
1bf2d97f by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: store redirection into abstractconnection

(cherry picked from commit 7501fae4cea2b4061bf216be330c158c31d277ce)

- - - - -
8694578a by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: use connection bytesRead instead of readsize

(cherry picked from commit 087f81bb5a972c5589758a712d1da4b89edfd3e9)

- - - - -
fae8b59a by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove useless parent method indirection

(cherry picked from commit 3db241a3c507cbab7ab0646d475bcc86f8d70869)

- - - - -
3db6fc85 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: add libvlchttp based connection

(cherry picked from commit f5c3393339ebfafe35c4ff43fe59bcee71d93692)

- - - - -
da5cb24d by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: use libvlchttp for default connections

(cherry picked from commit 207a2c1592d014c9a97a032ba73861a0ba69f376)

- - - - -
7ba4392e by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: replace maxconnect const var with namespaced constexpr

(cherry picked from commit 238baeb83ce7fa5e4a2791a1738803d8dab74ef8)

- - - - -
673baa8f by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove native connection

(cherry picked from commit 98fd0b741052ade76a9ca29de3deae08ad446232)

- - - - -
1945a109 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: request optional compression

Allow server to compress manifests and text subtitles

(cherry picked from commit be436e0ed29642489af90a1ca2cabbca38a511c6)

- - - - -
6ebcf5b9 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove arbitrary read size

(cherry picked from commit 451f6242c51d5d8d8ac3a7627877d1cfb522d8fc)

- - - - -
52a1fed3 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: improve webvtt probing

(cherry picked from commit a01153660bdb865fe70d3129170cdf34ce15eb0e)

- - - - -
ea805f32 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: remove null adaptationSet checks

now checked in parsers

(cherry picked from commit 76fd9eadc3e3cb1ceb5b3d11a2e98eb5ea278295)

- - - - -
d0a772a2 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: use enum class for Role

(cherry picked from commit af72f0bb1aa8fa5f948dffcd81973f474dc59cfd)

- - - - -
945d8a67 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: order sets on insert

(cherry picked from commit f36a0c559577d911bffc8c9f421e3f7fe9de72ac)

- - - - -
19d8f903 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: fix firstchunk, peek and restart

(cherry picked from commit 33fb9022907360d8f2618384f56b57a8c7a5e136)

- - - - -
410e8676 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: clear discontinuity on new demux first chunk

(cherry picked from commit cdd1dda3c3c5a8e14c3a0d56e963c2578155ecac)

- - - - -
472dad92 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: set segment source chunk type

(cherry picked from commit b85ef41f6b2ad6e5f464bb8d4e3b0368614a1041)

- - - - -
374b01f3 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: pass source back to manager for deletion

(cherry picked from commit 3e32bbeb059bb18d8603449a628de2e62657ff1a)

- - - - -
88caedb6 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: adaptive: split download queues

prioritize manifests over data chunks

(cherry picked from commit 7b4eff1ccc01302a057f8348c626514b2ed4207d)

- - - - -
f32b65b5 by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: hls: read framerate

(cherry picked from commit 0d61e9a1b8d27df6af5bf1c4ff1f6d51ede4594b)

- - - - -
fce30e7a by Francois Cartegnie at 2022-01-03T10:12:39+01:00
demux: hls: remove unused member

(cherry picked from commit 305c390d74a38bd9a0d57f0a3694e14bf51ab06f)

- - - - -
3599c9b9 by Alexandre Janniaux at 2022-01-03T10:31:02+01:00
adaptive: PlaylistManager: remove savecancel

We don't use cancellation in this code.

(cherry picked from commit b7f6debac6e981c97be9443128e39224a4731f5e)

- - - - -
b9499494 by Alexandre Janniaux at 2022-01-03T10:37:18+01:00
adaptive: PlaylistManager: remove useless mutex lock

(cherry picked from commit 551734e0ac03308560c402626d83eb99ba356bb9)

- - - - -


28 changed files:

- modules/demux/Makefile.am
- modules/demux/adaptive/AbstractSource.hpp
- modules/demux/adaptive/ID.cpp
- modules/demux/adaptive/ID.hpp
- modules/demux/adaptive/PlaylistManager.cpp
- modules/demux/adaptive/PlaylistManager.h
- modules/demux/adaptive/SegmentTracker.cpp
- modules/demux/adaptive/SegmentTracker.hpp
- modules/demux/adaptive/SharedResources.cpp
- modules/demux/adaptive/SharedResources.hpp
- modules/demux/adaptive/StreamFormat.cpp
- modules/demux/adaptive/StreamFormat.hpp
- modules/demux/adaptive/Streams.cpp
- modules/demux/adaptive/Streams.hpp
- modules/demux/adaptive/Time.hpp
- modules/demux/adaptive/adaptive.cpp
- modules/demux/adaptive/encryption/CommonEncryption.cpp
- modules/demux/adaptive/encryption/CommonEncryption.hpp
- modules/demux/adaptive/encryption/Keyring.cpp
- modules/demux/adaptive/encryption/Keyring.hpp
- modules/demux/adaptive/http/AuthStorage.cpp
- modules/demux/adaptive/http/AuthStorage.hpp
- modules/demux/adaptive/http/Chunk.cpp
- modules/demux/adaptive/http/Chunk.h
- modules/demux/adaptive/http/ConnectionParams.hpp
- modules/demux/adaptive/http/Downloader.cpp
- modules/demux/adaptive/http/Downloader.hpp
- modules/demux/adaptive/http/HTTPConnection.cpp


The diff was not included because it is too large.


View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b014a4825d0ebcfd4fe43b3f6f0bc47d14847d53...b9499494965e5d8ccd560a8636657a035419fc12

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/b014a4825d0ebcfd4fe43b3f6f0bc47d14847d53...b9499494965e5d8ccd560a8636657a035419fc12
You're receiving this email because of your account on code.videolan.org.




More information about the vlc-commits mailing list