mpv/stream
wm4 8a7b8c3dd6 stream: fix reconnecting on broken network connections
This didn't work properly for HTTP with libavformat. The builtin HTTP
implementation reconnects automatically on its own, while libavformat
doesn't. Fix this by adding explicit reconnection support to
stream_lavf.c, which simply destroys and recreates the AVIO context.

It mostly works, though sometimes it mysteriously fails, spamming crap
all over the terminal and feeding broken data to the decoders. This is
probably due to itneractions with the cache. Also, reconnecting to
unseekable HTTP streams will make it read the entire stream until the
previous playback position is reached again.

It's not known whether this change makes behavior with "strange"
protocols like RTP better or worse.
2013-01-24 18:56:02 +01:00
..
ai_alsa1x.c
ai_oss.c
asf_mmst_streaming.c
asf_mmst_streaming.h
asf_streaming.c stream: implement some HTTP specific options for stream_lavf 2013-01-24 17:45:13 +01:00
audio_in.c
audio_in.h
cache2.c
cache2.h
cdd.h
cdinfo.c
cookies.c stream: implement some HTTP specific options for stream_lavf 2013-01-24 17:45:13 +01:00
cookies.h stream: implement some HTTP specific options for stream_lavf 2013-01-24 17:45:13 +01:00
dvb_tune.c
dvb_tune.h
dvbin.h
frequencies.c
frequencies.h
http.c stream: implement some HTTP specific options for stream_lavf 2013-01-24 17:45:13 +01:00
http.h
network.c
network.h stream: implement some HTTP specific options for stream_lavf 2013-01-24 17:45:13 +01:00
pvr.h
stream.c stream: fix reconnecting on broken network connections 2013-01-24 18:56:02 +01:00
stream.h stream: fix reconnecting on broken network connections 2013-01-24 18:56:02 +01:00
stream_avdevice.c
stream_bluray.c
stream_cdda.c stream_cdda: support latest libcdio version 2013-01-24 12:01:06 +01:00
stream_cddb.c Silence two compiler warnings 2013-01-16 02:03:21 +01:00
stream_dvb.c
stream_dvd.c
stream_dvd.h
stream_dvd_common.c
stream_dvd_common.h
stream_file.c
stream_ftp.c
stream_lavf.c stream: fix reconnecting on broken network connections 2013-01-24 18:56:02 +01:00
stream_mf.c
stream_null.c
stream_pvr.c
stream_radio.c
stream_radio.h
stream_smb.c
stream_tv.c
stream_udp.c stream: implement some HTTP specific options for stream_lavf 2013-01-24 17:45:13 +01:00
stream_vcd.c
stream_vstream.c
tcp.c
tcp.h
tv.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
tv.h
tvi_bsdbt848.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
tvi_def.h video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
tvi_dummy.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
tvi_v4l2.c video: decouple internal pixel formats from FourCCs 2013-01-13 20:04:11 +01:00
udp.c
udp.h
url.c
url.h
vcd_read.h
vcd_read_darwin.h
vcd_read_fbsd.h
vcd_read_win32.h