1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 15:22:09 +00:00
mpv/options
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
..
m_config.c cache: redo options and default settings 2014-05-20 02:40:22 +02:00
m_config.h options: unify code for setting string and "raw" options 2014-05-18 19:21:39 +02:00
m_option.c command: allow native access to "vf" property 2014-04-24 02:30:00 +02:00
m_option.h options: allow changing options at runtime 2014-02-25 23:59:27 +01:00
m_property.c command: remove extended information from --list-properties 2014-04-11 01:27:57 +02:00
m_property.h command: add helper function to split property paths 2014-03-30 13:41:03 +02:00
options.c stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
options.h stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
parse_commandline.c options: fix "-" (stdin) input 2014-05-06 01:06:07 +02:00
parse_commandline.h
parse_configfile.c options: let unknown option case be handled by final option parser 2014-05-05 23:55:47 +02:00
parse_configfile.h encode: don't apply default config options 2014-04-19 22:05:17 +02:00
path.c config: fix --config-dir logic for global config files 2014-02-28 21:32:00 +01:00
path.h path: add function to split URL into prefix and path 2013-12-22 23:25:10 +01:00