1
mirror of https://github.com/mpv-player/mpv synced 2024-08-20 08:55:06 +02:00
mpv/stream
wm4 eb17780740 cache: refuse to seek outside of cache boundaries
Note that this still happens in the stream level, so we can't have
nice highlevel behavior restricting seeking. Instead, if a seek leads
to the demuxer requesting data outside of the cached range, the seek
will simply fail. This might confuse the demuxer, and the resulting
behavior is not necessarily useful.

Note that this also doesn't try to skip data on a forward seek. This
would just freeze the stream with slow unseekable streams.

One nice thing is that stream.h has a separate function for merely
skipping data (separate from seeking forward), which is pretty useful
in this case: we want skipping of data to work, even if we reject
seeking forward by skipping data as too expensive. This probably is
or will be useful for demux_mkv.c.
2014-01-31 22:40:35 +01:00
..
resolve quvi: add option to not fetch subtitles 2014-01-05 23:07:34 +01:00
ai_alsa1x.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
ai_oss.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
ai_sndio.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
audio_in.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
audio_in.h demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
cache.c cache: refuse to seek outside of cache boundaries 2014-01-31 22:40:35 +01:00
cdd.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
cdinfo.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
cookies.c cookies.c: cols must (and does) have 7 elements. 2014-01-19 12:58:03 +01:00
cookies.h options: move network related options to MPOpts 2013-12-22 13:11:22 +01:00
dvb_tune.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
dvb_tune.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
dvbin.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
frequencies.c Add license header to all files missing it in the stream subdirectory. 2010-01-30 22:26:47 +00:00
frequencies.h Add license header to all files missing it in the stream subdirectory. 2010-01-30 22:26:47 +00:00
pvr.h Remove trailing whitespace from most files 2009-07-07 02:34:35 +03:00
rar.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
rar.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_avdevice.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_bluray.c player: avoid stalling when starting a network stream 2014-01-14 22:24:07 +01:00
stream_cdda.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_dvb.c path lookup functions: mp_msg conversions 2013-12-21 21:43:17 +01:00
stream_dvd_common.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_dvd_common.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_dvd.c msg: rename mp_msg_log -> mp_msg 2013-12-21 22:13:04 +01:00
stream_dvd.h Move options/config related files from mpvcore/ to options/ 2013-12-17 02:07:57 +01:00
stream_dvdnav.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_dvdnav.h dvdnav: crappy hack to respect timed still frames 2013-12-14 01:40:52 +01:00
stream_edl.c timeline: add edl:// URIs 2013-11-19 22:39:04 +01:00
stream_file.c player: strip 'file://' from filenames on playback start 2014-01-08 21:46:42 +01:00
stream_lavf.c stream: minor cookie cleanup 2013-12-22 13:29:16 +01:00
stream_memory.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_mf.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_null.c stream: fix url_options field, make protocols field not fixed length 2013-08-26 10:09:45 +02:00
stream_pvr.c stream_pvr: Fix fd check, -1 indicates invalid, not 0. 2014-01-23 22:44:10 +01:00
stream_radio.c stream_radio: suppress error with -Werror=format-security compilation flag 2013-12-22 21:00:15 +01:00
stream_radio.h Remove BSD legacy TV/radio support (BT848 stuff) 2013-02-06 23:03:39 +01:00
stream_rar.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream_smb.c stream_smb: remove dead code 2013-12-22 23:42:58 +01:00
stream_tv.c Move options/config related files from mpvcore/ to options/ 2013-12-17 02:07:57 +01:00
stream_vcd.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
stream.c stream: print stream_read_line warnings by default 2014-01-19 21:15:55 +01:00
stream.h player: avoid stalling when starting a network stream 2014-01-14 22:24:07 +01:00
tv.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
tv.h demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
tvi_def.h Fix some more -Wshadow warnings 2013-11-01 17:35:38 +01:00
tvi_dummy.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
tvi_v4l2.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
vcd_read_darwin.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
vcd_read_fbsd.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
vcd_read_win32.h stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
vcd_read.h vcd_read: Fix sizeof argument. 2014-01-19 12:57:50 +01:00