1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-23 15:22:09 +00:00
mpv/player
wm4 a4d487f5b2 stream: don't use end_pos
Stop using it in most places, and prefer STREAM_CTRL_GET_SIZE. The
advantage is that always the correct size will be used. There can be no
doubt anymore whether the end_pos value is outdated (as it happens often
with files that are being downloaded).

Some streams still use end_pos. They don't change size, and it's easier
to emulate STREAM_CTRL_GET_SIZE using end_pos, instead of adding a
STREAM_CTRL_GET_SIZE implementation to these streams.

Make sure int64_t is always used for STREAM_CTRL_GET_SIZE (it was
uint64_t before).

Remove the seek flags mess, and replace them with a seekable flag. Every
stream must set it consistently now, and an assertion in stream.c checks
this. Don't distinguish between streams that can only be forward or
backwards seeked, since we have no such stream types.
2014-05-24 16:17:51 +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 af: add replaygain_data field to af_stream and af_instance 2014-04-04 18:35:29 +02:00
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: don't use end_pos 2014-05-24 16:17:51 +02:00
command.h client API: add a way to notify clients of property changes 2014-04-06 03:22:49 +02:00
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 build: add option to build a library 2014-02-10 21:25:22 +01:00
main.c x11: replace--[x11-]fstype option with --x11-netwm 2014-05-16 00:47:13 +02:00
misc.c stream: don't use end_pos 2014-05-24 16:17:51 +02:00
osd.c player: hack to fix --msgmodule --term-osd-bar 2014-04-13 13:03:31 +02:00
playloop.c stream: don't use end_pos 2014-05-24 16:17:51 +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