Steve Lhomme
ded62a069f
rename VLC_TS_0 to VLC_TICK_0
8 years ago
Steve Lhomme
1f17997348
rename VLC_TS_INVALID to VLC_TICK_INVALID
8 years ago
Steve Lhomme
ff56c92a5e
rename mtime_t to vlc_tick_t
Keep a copy of vlc_tick_tfor backward compatibility.
8 years ago
Steve Lhomme
466b4a73c5
demux:adaptive: the min/max buffering are mtime_t so pass them down as such
8 years ago
Francois Cartegnie
c3869a48e1
demux: adaptive: use buffered source stream
8 years ago
Francois Cartegnie
44751cd701
demux: adaptive: pass content-type though streams
9 years ago
Francois Cartegnie
7bbd00f21e
demux: adaptive: refactor demux creation with factory interface
9 years ago
Zhao Zhili
d29d14402e
demux: adaptive: fix deadline maths
All variables are in microseconds. For buffering level is 0,
i_total_buffering is 60 * CLOCK_FREQ microseconds, demuxed amount is 0,
nz_extdeadline would be 240 microseconds. It's not the code supposed to
do.
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
9 years ago
Francois Cartegnie
4dd676f94a
demux: adaptive: add always restart demuxers for webvtt
because we really can't feed getLine's 2K peeks.
9 years ago
Francois Cartegnie
e244d8b10d
Revert "demux: adaptive: fix download from each adaptation set"
Broke stream reselection/alternative streams
(->input goes End(), mode goes None, so ES can never be reselected in es_out).
need to find a different fix.
This reverts commit bced5fe7a5 .
9 years ago
Zhao Zhili
dfbd1121c7
demux: adaptive: modify seekable requirements
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
9 years ago
Zhao Zhili
aa4cc95339
demux: adaptive: clear eof flag of AbstractStream after seek
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
9 years ago
Zhao Zhili
e6d3351bfd
demux: adaptive: clear eof flag of CommandsQueue after seek
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
9 years ago
Francois Cartegnie
bced5fe7a5
demux: adaptive: fix download from each adaptation set
since gc does not happen after disabling,
es is still seen as selected.
9 years ago
Francois Cartegnie
b4f2ab4fe6
demux: adaptive: add stream name in deactivation notice
9 years ago
Zhao Zhili
ea4e7a0bc8
demux: adaptive: fix debug log
Signed-off-by: Francois Cartegnie <fcvlcdev@free.fr>
9 years ago
Francois Cartegnie
846c4d18d6
demux: adaptive: debug drains
9 years ago
Francois Cartegnie
9a3bd71a82
demux: adaptive: rename fakeesout->drain
9 years ago
Francois Cartegnie
f3068ce6ba
demux: adaptive: s/flush/drain
9 years ago
Francois Cartegnie
f39891f1ae
demux: adaptive: forward min buffering level through event
9 years ago
Steve Lhomme
ba22d8c515
demux: adaptive: include <algorithm> for std::max()
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
10 years ago
Francois Cartegnie
648a5e5d84
demux: adaptive: enforce minimal deadline
or breaks with slavedemuxers
10 years ago
Francois Cartegnie
a8cdcf9b0b
demux: adaptive: set expected time offset
10 years ago
Rémi Denis-Courmont
a875727d8b
adaptive: fix format string
10 years ago
Francois Cartegnie
c649c1bda5
demux: adaptive: add error message on 4xx
10 years ago
Francois Cartegnie
e3e79dac35
demux: adaptive: do not cancel current stream when already restarting
happens on switching event while we already deleted demux
10 years ago
Francois Cartegnie
f96eda2546
demux: adaptive: remove demux restart method
10 years ago
Francois Cartegnie
4052d3700f
demux: adaptive: fix end of stream regression (#fix 17454)
10 years ago
Francois Cartegnie
3fc5caa902
demux: adaptive: add stream buffering level event
10 years ago
Francois Cartegnie
c958babfdf
demux: adaptive: add stream buffering state event
10 years ago
Francois Cartegnie
9a982e29db
demux: adaptive: prioritize steams buffering
10 years ago
Francois Cartegnie
7cccb1faf6
demux: adaptive: save buffering status
10 years ago
Francois Cartegnie
4a7c8d021a
demux: adaptive: simplify disabled/dead streams cases
10 years ago
Francois Cartegnie
341a106e77
demux: adaptive: get state through methods
10 years ago
Francois Cartegnie
3924bed454
demux: adaptive: add connection manager interface
10 years ago
Francois Cartegnie
62ecf35d7e
demux: adaptive: fix in-band and out-of-band time offset handling
was regression with AAC seek since rewrite of buffering
10 years ago
Francois Cartegnie
771a2a17fb
demux: adaptive: restart stream demuxer when required
10 years ago
Francois Cartegnie
08c74d0b18
demux: adaptive: add demuxer flag for restart on switch
10 years ago
Francois Cartegnie
daff83c63f
demux: adaptive: rename prepareFormatChange
and add a no PCR reset condition
10 years ago
Francois Cartegnie
46bd4c62e4
demux: adaptive: don't show err for unsupported demuxers
10 years ago
Francois Cartegnie
b4b87526cd
demux: hls: set demux only from file extensions
we can no longer rely on codecs to guess format
10 years ago
Francois Cartegnie
40608ad1d8
demux: adaptive: simplify first pcr handling
10 years ago
Francois Cartegnie
2dcf76ce81
demux: adaptive: refactor and split buffering thread
10 years ago
Francois Cartegnie
64f08bdf9c
demux: adaptive: add drain (GET_EMPTY)
Required to correctly switch to another period,
as we disable es on period end.
10 years ago
Francois Cartegnie
3ed984575f
demux: adaptive: move pcr/flushing to commands queue
10 years ago
Francois Cartegnie
473237f3ce
demux: adaptive: do not filter schemes
also fixes a mishandled exception.
let late fail on regular access creation.
10 years ago
Francois Cartegnie
50541d217f
demux: adaptive: simplify streams with unique init method
10 years ago
Francois Cartegnie
3d8bd06fa4
demux: adaptive: have streams own commands queue
10 years ago
Francois Cartegnie
91f528c97f
demux: adaptive: set demux time offset to segment start, not seek time
otherwise creates out of sync multiple streams with mp4
10 years ago
Francois Cartegnie
dac320e35f
demux: adaptive: fix CAN_SEEK and late fail
as child demuxers are not created yet when demux
wants seekable capability, CAN_SEEK was always false
10 years ago