1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/stream
Uoti Urpala a0f08fbebb stream: improve EOF handling in seeks
Reset stream 'eof' flag when a seek succeeds, and allow seeking to a
position at or past EOF (in the sense that the seek succeeds and
stream_tell() then returns that position).

This fixes at least some demuxer problems where an attempt to read
the index from the end of an incomplete file would set the 'eof' flag
and cause subsequent reads to fail, even if failure to read the index
would otherwise be nonfatal and demuxing could continue after seeking
back.

Partially based on a patch from Laurent <laurent.aml@gmail.com>.
2010-01-18 14:38:56 +02:00
..
freesdp Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
librtsp Disambiguate HEADER_SIZE definition in stream/librtsp and stream/realrtsp. 2010-01-04 09:48:14 +00:00
realrtsp Merge svn changes up to r30195 2010-01-08 02:06:42 +02:00
ai_alsa1x.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ai_alsa.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
ai_oss.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
asf_mmst_streaming.c Merge svn changes up to r29412 2009-07-07 02:56:01 +03:00
asf_streaming.c Merge svn changes up to r29971 2009-11-29 06:11:02 +02:00
audio_in.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
audio_in.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
cache2.c Merge svn changes up to r29962 2009-11-23 01:56:21 +02:00
cache2.h
cdd.h Add a few missing header #includes and #defines. 2010-01-04 18:58:35 +00:00
cdinfo.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
cookies.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
cookies.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
dvb_tune.c cosmetics: Remove some pointless parentheses from return calls. 2009-10-08 11:25:01 +00:00
dvbin.h Add a few missing header #includes and #defines. 2010-01-04 18:58:35 +00:00
frequencies.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
frequencies.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
http.c Make code slightly more readable. 2009-12-31 16:47:53 +00:00
http.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
network.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
network.h
open.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
pnm.c Replace libavutil internal header #includes with MPlayer copies 2009-07-26 06:16:43 +03:00
pnm.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
pvr.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
rtp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
rtp.h
stream_cdda.c Merge svn changes up to r29455 2009-07-29 01:32:03 +03:00
stream_cddb.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_cue.c Merge svn changes up to r29962 2009-11-23 01:56:21 +02:00
stream_dvb.c Support ISDB-Tb tunning in Brazil 2009-10-30 10:03:54 +00:00
stream_dvd_common.c Merge svn changes up to r29912 2009-11-16 07:01:46 +02:00
stream_dvd_common.h Move dvd_speed and dvd_set_speed to dvd_common and implement -dvd-speed 2009-11-10 23:20:05 +00:00
stream_dvd.c Merge svn changes up to r29962 2009-11-23 01:56:21 +02:00
stream_dvd.h
stream_dvdnav.c Merge svn changes up to r29962 2009-11-23 01:56:21 +02:00
stream_dvdnav.h
stream_ffmpeg.c Merge svn changes up to r30236 2010-01-08 02:44:37 +02:00
stream_file.c Merge svn changes up to r29962 2009-11-23 01:56:21 +02:00
stream_ftp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_live555.c Merge svn changes up to r29962 2009-11-23 01:56:21 +02:00
stream_mf.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_nemesi.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_netstream.c Merge svn changes up to r29962 2009-11-23 01:56:21 +02:00
stream_netstream.h Add a few missing header #includes and #defines. 2010-01-04 18:58:35 +00:00
stream_null.c
stream_pvr.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_radio.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_radio.h Merge svn changes up to r30216 2010-01-08 02:39:39 +02:00
stream_rtp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_rtsp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_smb.c Merge svn changes up to r29962 2009-11-23 01:56:21 +02:00
stream_tv.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_udp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_vcd.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream_vstream.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
stream.c stream: improve EOF handling in seeks 2010-01-18 14:38:56 +02:00
stream.h stream: improve EOF handling in seeks 2010-01-18 14:38:56 +02:00
tcp.c Merge svn changes up to r29412 2009-07-07 02:56:01 +03:00
tcp.h
tv.c Merge svn changes up to r29912 2009-11-16 07:01:46 +02:00
tv.h Separate teletext from tv support. 2009-11-07 12:31:05 +00:00
tvi_bsdbt848.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
tvi_def.h Move teletext specific code from stream into libmpcodecs. 2009-10-29 22:13:04 +00:00
tvi_dshow.c Merge svn changes up to r30173 2010-01-08 01:17:56 +02:00
tvi_dshow.h Several hacks to fix compilation of tvi_dshow on MinGW64. 2010-01-02 17:41:11 +00:00
tvi_dummy.c
tvi_v4l2.c 100l, fix check for V4L2 capture capability flag. 2009-12-11 21:33:57 +00:00
tvi_v4l.c Fix printf format strings with invalid '%lf' conversion 2009-12-15 15:27:30 +02:00
udp.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
udp.h
url.c Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
url.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
vcd_read_darwin.h Add a few missing header #includes and #defines. 2010-01-04 18:58:35 +00:00
vcd_read_fbsd.h Merge svn changes up to r30216 2010-01-08 02:39:39 +02:00
vcd_read_win32.h Add a few missing header #includes and #defines. 2010-01-04 18:58:35 +00:00
vcd_read.h Replace libavutil internal header #includes with MPlayer copies 2009-07-26 06:16:43 +03:00