stream: Implement slice:// for reading slices of streams
Add support for reading a byte range from a stream via the `slice://` protocol. Syntax is `slice://start[-end]@URL` where end is a maximum (read until end or eof). Size suffixes support in `m_option` is reused so they can be used with start/end. This can be very useful with e.g. large MPEGTS streams with corruption or time-stamp jumps or other issues in them. Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
M
Mohammad AlSaleh committed
ffa9aaa2e458dcac3658a16c4d1fb14755de0ebd
Parent: 19aa565
Committed by wm4 <1387750+wm4@users.noreply.github.com>
on 8/19/2020, 3:22:53 PM