diff options
author | wm4 <wm4@nowhere> | 2015-04-27 22:28:35 +0200 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-04-28 08:33:57 +0900 |
commit | a8c764acb487267d2f806b03f22d742e2628e621 (patch) | |
tree | e435a245afa0a3604e717237d450f6bef803ed96 /README.md | |
parent | 62a66e2ff8201446af55e62e3358c712fc74eb80 (diff) | |
download | mpv-a8c764acb487267d2f806b03f22d742e2628e621.tar.bz2 mpv-a8c764acb487267d2f806b03f22d742e2628e621.tar.xz |
player: fix removing external tracks at runtime
This could make the player crash on exit if the "sub_reload" command was
used successfully. the reason was that the mpctx->sources array could
have dangling pointers to the unloaded demuxers.
Also fix a memory leak by actually always freeing the per-stream
subtitle decoders (which are a hack to make ordered chapters behave
better).
(cherry picked from commit 4d2ed847ce8d2b4a8fde5673d0bd3accd2ccce6f)
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions