Jean-Baptiste Kempf
9bac00d12a
Prefetch: include cosmetics
11 years ago
KO Myung-Hun
0010afc233
stream_filter: implement prefetch module for OS/2
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
11 years ago
Rémi Denis-Courmont
eb97622cb4
cache_block: unused variable
11 years ago
Francois Cartegnie
169dd181dd
stream_filter: smooth: remove legacy smooth filter
Deprecated by adaptative, which is also now jammed by filter.
Drops specific MP4 forged smoo/stra hacks.
11 years ago
Rémi Denis-Courmont
dbc8b78197
prefetch: handle STREAM_GET_SIZE failure
11 years ago
Thomas Guillem
1abea47491
cache_read: don't fail when skipping at EOF
11 years ago
Thomas Guillem
91b2daf8c8
cache_read: don't fail when seeking at the end of the stream
AStreamRefillStream shouldn't fail in case of EOF.
AStreamSeekStream shouldn't fail when no data can be cached after a seek.
11 years ago
Thomas Guillem
8eeb7380c7
cache_read: fix unused variable warning
11 years ago
Thomas Guillem
c47c2f60a3
cache_read: add error log
11 years ago
Thomas Guillem
4a55d147cd
cache: fix seek when skipping data
AStreamReadNoSeekStream can return a value less than the length argument
without failing.
11 years ago
Rémi Denis-Courmont
3ccd91d3f6
interrupt: voidify vlc_interrupt_prepare and simplify
11 years ago
Felix Paul Kühne
593262d8aa
decomp filter: disable for tvOS
11 years ago
Francois Cartegnie
6ad32e53fa
demux: mp4: remove unused param in MP4_Free
11 years ago
Francois Cartegnie
27e7fb5d39
demux: libmp4: rewrite nextbox/container reading
11 years ago
Rémi Denis-Courmont
3db95ed0fa
cache: stream_Tell() is always zero at reset
Reset is at initialization, or after seekpoint seek.
11 years ago
Rémi Denis-Courmont
3a37abef8b
prefetch: continue fetching while paused
If downstream is paused while the buffer is not full, continue
fetching. When the buffer is full, pause.
11 years ago
Francois Cartegnie
07ca931af9
unbreak accesstweaks
11 years ago
Rémi Denis-Courmont
b1082a5cc0
stream: replace STREAM_SET_POSITION control with dedicated pf_seek
Also:
- zip: fix seeking to end of file
- accesstweaks: fix segmentation fault when (inhibiting) seeking
- decomp: set callbacks only on successful init
11 years ago
Rémi Denis-Courmont
9e842af879
stream: remove STREAM_GET_POSITION control
11 years ago
Rémi Denis-Courmont
1c4dc71b92
prefetch: kill access/background thread when closing
11 years ago
Rémi Denis-Courmont
e4778f7014
prefetch: unblock if the thread is interrupted
11 years ago
Rémi Denis-Courmont
33655fee2f
prefetch: Win32 support
11 years ago
Rémi Denis-Courmont
c74fb8e1ac
prefetch: stream filter for threaded prefetching/buffering
11 years ago
Francois Cartegnie
e305b509dc
add controls tweaking modules
Because we have too many access/demux misbehaving with
seekable and non seekable cases, some developers only
options could be really useful.
module built only using invisible configure option
--enable-devtools
11 years ago
Rémi Denis-Courmont
7bcd0baac0
cache_block: rewrite "method 1" stream_access as stream filter
11 years ago
Rémi Denis-Courmont
561195e120
cache_read: "method 2" stream_access rewritten as a stream filter
11 years ago
Rémi Denis-Courmont
73dec06b9f
hds: simplify pf_read()
11 years ago
Rémi Denis-Courmont
369d7605af
hds: fix stream error handling
11 years ago
Rémi Denis-Courmont
f2466501a5
smooth: remove antilogy
11 years ago
Rémi Denis-Courmont
df2cd48351
stream: use (s)size_t for callback prototypes
11 years ago
Rémi Denis-Courmont
8df23063ed
stream: allow NULL psz_url and fail as appropriate
Previously, "" would be used, leading to nonsensical results in those
stream filters that actually need a URL.
11 years ago
Rémi Denis-Courmont
c6274d04a8
stream: fold psz_access and psz_path into psz_url
11 years ago
Rémi Denis-Courmont
b78ea82b54
smooth: remove failure-prone peek callback
11 years ago
Rémi Denis-Courmont
f677708355
record: remove peek callback
11 years ago
Rémi Denis-Courmont
9ac96f62c9
hds: remove suspicious peek callback
11 years ago
Rémi Denis-Courmont
2c2d50737e
decomp: remove peek callback
11 years ago
Rémi Denis-Courmont
88a3f05874
aribcam: remove peek callback
11 years ago
Rémi Denis-Courmont
9a157b2d5c
smooth: remove logical no-op
11 years ago
Rémi Denis-Courmont
1cf67e2fbb
smooth: remove logical no-op
11 years ago
Rémi Denis-Courmont
02eee27687
smooth: remove logical no-op
11 years ago
Rémi Denis-Courmont
2a305595fa
smooth: remove/propagate constant value
From the downloader thread, b_close is always true.
11 years ago
Rémi Denis-Courmont
872a08d51c
smooth: remove unused cancellation preemption
vlc_cancel() is not used, so this was a no-op.
11 years ago
Rémi Denis-Courmont
5451f73317
smooth: remove/propagate constant value
b_error can only become true after the download thread is joined, after
which point it is never evaluated. So we can treat it as always false.
11 years ago
Rémi Denis-Courmont
f06e454598
smooth: remove write-only variable
11 years ago
Rémi Denis-Courmont
4786038bde
smooth: remove logical no-op
11 years ago
Rémi Denis-Courmont
d8f4b5c3aa
smooth: remove write-only variable
11 years ago
Rémi Denis-Courmont
e937acbf56
smooth: propagate tautology
11 years ago
Rémi Denis-Courmont
901fa0d6c7
Inline all remaining calls to vlc_cleanup_run()
The code size saving in vlc_cleanup_run() is marginal and premature
optimization. In practice, vlc_cleanup_run() makes the source code
harder to follow/read, confuses static analyzers and generates false
positive clobber warnings (on some OSes due to long jumps).
It did exercise some of the cleanup code paths though.
11 years ago
Rémi Denis-Courmont
65b041afdf
smooth: remove unused XML validator
11 years ago
Rémi Denis-Courmont
549a987afd
hds: remove unused XML validator
11 years ago