1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 23:32:26 +00:00
mpv/demux
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
..
codec_tags.c demux: add "BIKb" FourCC 2014-04-08 22:59:53 +02:00
codec_tags.h demux: remove gsh field from sh_audio/sh_video/sh_sub 2013-11-23 21:37:56 +01:00
demux_cue.c Split mpvcore/ into common/, misc/, bstr/ 2013-12-17 02:39:45 +01:00
demux_edl.c timeline: reject mplayer2 EDL files, change EDL header 2013-11-21 15:59:00 +01:00
demux_lavf.c stream_dvd, cache: hack seeking with --cache + dvd:// back into working 2014-04-09 23:12:31 +02:00
demux_libass.c demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00
demux_mf.c stream: mp_msg conversions 2013-12-21 21:43:16 +01:00
demux_mkv.c Remove some more unneeded version checks 2014-03-16 13:19:28 +01:00
demux_playlist.c demux_playlist: move parser for plaintext playlists 2014-01-19 21:15:55 +01:00
demux_raw.c demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
demux_subreader.c sub: use new FFmpeg API to check MicroDVD FPS 2014-03-04 00:28:10 +01:00
demux.c demux: move metadata-based replaygain decoding out of af_volume 2014-04-04 18:35:30 +02:00
demux.h demux: add replaygain_data field to demuxer_t 2014-04-04 18:35:29 +02:00
ebml.c ebml: remove length parameters from read functions 2014-01-14 17:38:51 +01:00
ebml.h ebml: remove length parameters from read functions 2014-01-14 17:38:51 +01:00
matroska.h
mf.c mf: don't limit filename length with PATH_MAX 2014-02-03 22:11:03 +01:00
mf.h demux: mp_msg conversions 2013-12-21 21:43:16 +01:00
ms_hdr.h
packet.h demux: export dts from demux_lavf, use it for avi 2013-11-25 23:13:01 +01:00
stheader.h demux_libass: change how external ASS subtitles are loaded 2014-03-15 22:17:51 +01:00