mirror of https://github.com/mpv-player/mpv
29a51900c6
Alway give each demuxer its own mp_cancel instance. This makes management of the mp_cancel things much easier. Also, instead of having add/remove functions for mp_cancel slaves, replace them with a simpler to use set_parent function. Remove cancel_and_free_demuxer(), which had mpctx as parameter only to check an assumption. With this commit, demuxers have their own mp_cancel, so add demux_cancel_and_free() which makes use of it. |
||
---|---|---|
.. | ||
bstr.c | ||
bstr.h | ||
charset_conv.c | ||
charset_conv.h | ||
ctype.h | ||
dispatch.c | ||
dispatch.h | ||
json.c | ||
json.h | ||
linked_list.h | ||
node.c | ||
node.h | ||
rendezvous.c | ||
rendezvous.h | ||
ring.c | ||
ring.h | ||
thread_pool.c | ||
thread_pool.h | ||
thread_tools.c | ||
thread_tools.h |