1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-01 20:52:05 +00:00
mpv/player
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
..
lua lua/osc: forgot some changed files in previous commit 2014-05-23 13:24:27 +02:00
timeline tl_mpv_edl: correct misspelling on line 233 2014-05-22 20:59:31 +02:00
audio.c
client.c client API: add mpv_load_config_file() 2014-05-18 19:21:39 +02:00
client.h player: reorganize how lua scripts are loaded 2014-05-13 02:39:37 +02:00
command.c stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
command.h
configfiles.c player: don't complain on too long filenames 2014-05-10 16:08:07 +02:00
core.h command: add a disc-menu-active property 2014-05-18 00:03:47 +02:00
discnav.c stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
loadfile.c stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
lua.c lua/osc: forgot some changed files in previous commit 2014-05-23 13:24:27 +02:00
main_fn.c
main.c x11: replace--[x11-]fstype option with --x11-netwm 2014-05-16 00:47:13 +02:00
misc.c stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
osd.c player: hack to fix --msgmodule --term-osd-bar 2014-04-13 13:03:31 +02:00
playloop.c stream: kill start_pos, remove --sb option 2014-05-24 16:17:50 +02:00
screenshot.c video: remove redundant mp_image display_w/_h members 2014-04-29 13:31:59 +02:00
screenshot.h
scripting.c player: reorganize how lua scripts are loaded 2014-05-13 02:39:37 +02:00
sub.c video: handle colorspace and aspect overrides separately 2014-05-02 01:09:55 +02:00
video.c video: fix display of cover art with vo_vdpau 2014-05-22 13:50:10 +02:00