diff options
author | wm4 <wm4@nowhere> | 2018-05-19 18:19:07 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:35 +0200 |
commit | c24520b7f3651dbd4cbdffe93a187c3d213ff845 (patch) | |
tree | e964610d84844ff8227da560a444bd1afc345a6e /filters/f_swresample.c | |
parent | ee88ae15b3060631d6858fcd180e892883d2c299 (diff) | |
download | mpv-c24520b7f3651dbd4cbdffe93a187c3d213ff845.tar.bz2 mpv-c24520b7f3651dbd4cbdffe93a187c3d213ff845.tar.xz |
demux: add a way to destroy the demuxer asynchronously
This will enable the player core to terminate the demuxers in a "nicer"
way without having to block on network. If it just used demux_free(), it
would either have to block on network, or like currently, essentially
kill all I/O forcefully.
The API is slightly awkward, because demuxer lifetime is bound to its
allocation. On the other hand, changing that would also be awkward, and
introduce weird in-between states that would have to be handled in tons
of places.
Currently unused, to be user later.
Diffstat (limited to 'filters/f_swresample.c')
0 files changed, 0 insertions, 0 deletions