stream_lavf: minor fixes to HTTP reconnection support
Don't drop the stream buffers, because the read call (that must have been failing) might try to extend an existing read buffer in the first place. Just move the messy seek logic to stream_lavf.c. (In theory, stream_lavf should probably make libavformat connect at the correct offset instead of using a seek to reconnect it again. This patch doesn't fix it, but at least it's a good argument to have the messing with the position not in the generic code.) Also update the comment about avio not supporting reconnecting. It has that feature now. Maybe we should use it, but only after it gets fixed.
W
wm4 committed
722f9b63c20918cb8f503b65e6bcafcc303e355c
Parent: 6aad532
Committed by Kevin Mitchell <kevmitch@gmail.com>
on 1/2/2018, 10:59:27 PM