mpv/player
wm4 53867aa9d8 player: fix demuxer lifetime management
Commit f54220d9 attempted to improve this, but it got worse. Now there
was a crash when ytdl_hook.lua added external tracks. This happened
because close_unused_demuxers() assumed that sources[0] was the main
demuxer (so that it didn't close it). This assumption failed, because
the ytdl script can add external tracks before the main file is loaded.
The easy fix would have been to check for master_demuxer, and not i==0.
But instead give up on the old idea, make some stricter assumptions how
demuxers and external tracks map, and simplify the code.
2015-02-22 19:06:21 +01:00
..
lua lua: do not use math.pow() 2015-01-25 01:23:29 +01:00
audio.c player: use af_scaletempo when slowing down audio too 2015-02-12 11:58:35 +01:00
client.c client API: add mpv_wait_async_requests() 2015-02-02 18:07:37 +01:00
client.h vo_opengl_cb: simplify API uninitialization 2014-12-31 20:31:19 +01:00
command.c command: add rescan_external_files 2015-02-16 22:08:16 +01:00
command.h player: fix audio-device-list updates 2015-02-14 15:13:58 +01:00
configfiles.c sub: mess with styling defaults, change --ass-use-margins behavior 2015-02-16 20:04:29 +01:00
core.h player: fix demuxer lifetime management 2015-02-22 19:06:21 +01:00
discnav.c
loadfile.c player: fix demuxer lifetime management 2015-02-22 19:06:21 +01:00
lua.c client API: be more lenient about mpv_suspend/resume mismatches 2014-12-15 14:44:47 +01:00
main.c encoding: fixed-vo option was removed 2015-02-13 00:18:54 +01:00
main_fn.c
misc.c player: cosmetics: async/non-blocking -> reentrant 2015-02-20 20:06:43 +01:00
osd.c
playloop.c player: allow unsetting --term/osd-playing-msg 2015-02-18 21:12:57 +01:00
screenshot.c options: list correct default value for --screenshot-template 2015-01-26 11:38:23 +01:00
screenshot.h
scripting.c scripting: fix/improve deprecation message 2014-12-15 06:24:05 +01:00
sub.c player: enable cache and demuxer thread for subtitles too 2015-02-18 21:12:57 +01:00
video.c vf_vapoursynth: add display refresh rate property 2015-02-13 22:35:47 +01:00