1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-26 17:12:36 +00:00
mpv/stream
wm4 24f1878e95 stream_dvd, cache: hack seeking with --cache + dvd:// back into working
This was broken at some unknown point (even before the recent cache
changes). There are several problems:
- stream_dvd returning a random stream position, confusing the cache
  layer (cached data and stream data lost their 1:1 corrospondence by
  position)
- this also confused the mechanism added with commit a9671524, which
  basically triggered random seeking (although this was not the only
  problem)
- demux_lavf requesting seeks in the stream layer, which resulted in
  seeks in the cache or the real stream

Fix this by completely removing byte-based seeking from stream_dvd. This
already works fine for stream_dvdnav and stream_bluray. Now all these
streams do time-based seeks, and pretend to be infinite streams of data,
and the rest of the player simply doesn't care about the stream byte
positions.
2014-04-09 23:12:31 +02: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 stream_dvd, cache: hack seeking with --cache + dvd:// back into working 2014-04-09 23:12:31 +02: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
discnav.h player: rename dvdnav to discnav 2014-03-30 11:42:49 +09: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
frequencies.h
pvr.h
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 stream_bluray: move lookup of AACS error codes into a function 2014-03-30 08:57:14 +02:00
stream_cdda.c stream_cdda: print cd text header only if there are any cd text fields 2014-03-26 17:00:29 +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 stream_dvd, cache: hack seeking with --cache + dvd:// back into working 2014-04-09 23:12:31 +02:00
stream_dvd.h Move options/config related files from mpvcore/ to options/ 2013-12-17 02:07:57 +01:00
stream_dvdnav.c player: rename dvdnav to discnav 2014-03-30 11:42:49 +09:00
stream_edl.c timeline: add edl:// URIs 2013-11-19 22:39:04 +01:00
stream_file.c stream_file: Check the handle for network streams 2014-04-09 20:41:51 +02:00
stream_lavf.c Remove some more unneeded version checks 2014-03-16 13:19:28 +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 mf: fix operation with --cache 2014-03-26 20:42:09 +01: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_bluray: implement navigation interface for Blu-ray stream 2014-03-29 23:31:46 +09:00
stream.h cache: allow resizing at runtime 2014-04-09 19:15:23 +02: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