1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-21 22:30:22 +00:00
mpv/demux
wm4 e3c20bf350 stream: kill start_pos, remove --sb option
stream.start_pos was needed for optical media only, and (apparently) not
for very good reasons. Just get rid of it.

For stream_dvd, we don't need to do anything. Byte seeking was already
removed from it earlier.

For stream_cdda and stream_vcd, emulate the start_pos by offsetting the
stream pos as seen by the rest of mpv.

The bits in discnav.c and loadfile.c were for dealing with the code
seeking back to the start in demux.c. Handle this differently by
assuming the demuxer is always initialized with the stream at start
position, and instead seek back if initializing the demuxer fails.

Remove the --sb option, which worked by modifying stream.start_pos. If
someone really wants this option, it could be added back by creating a
"slice" stream (actually ffmpeg already has such a thing).
2014-05-24 16:17:50 +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: kill start_pos, remove --sb option 2014-05-24 16:17:50 +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 demux_mkv: enable parsing for VP9 2014-04-26 22:24:15 +02:00
demux_playlist.c demux_playlist: fix m3u detection logic 2014-05-11 16:40:41 +02:00
demux_raw.c stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
demux_subreader.c demux_subreader: remove support for some subtitle formats 2014-05-19 01:40:41 +02:00
demux.c stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
demux.h mp_tags: move generic mp_tags stuff into its own .c/.h files in common/ 2014-04-13 18:03:01 +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 build: glob() is always available 2014-04-22 01:42:57 +02: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: export video rotation parameter 2014-04-21 02:57:16 +02:00