summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2018-05-19 18:19:07 +0200
committerwm4 <wm4@nowhere>2018-05-24 19:56:35 +0200
commitc24520b7f3651dbd4cbdffe93a187c3d213ff845 (patch)
treee964610d84844ff8227da560a444bd1afc345a6e /input
parentee88ae15b3060631d6858fcd180e892883d2c299 (diff)
downloadmpv-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 'input')
0 files changed, 0 insertions, 0 deletions