diff options
author | wm4 <wm4@nowhere> | 2018-05-06 21:46:40 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2018-05-24 19:56:34 +0200 |
commit | 115a9b19f14e0e8cc6dd5d0732cd39322cbd686c (patch) | |
tree | dd134698d40566695b740646055cc71d603b8843 /mpv_talloc.h | |
parent | 79596113ea87460c9280853ae595d16c77b7c4c0 (diff) | |
download | mpv-115a9b19f14e0e8cc6dd5d0732cd39322cbd686c.tar.bz2 mpv-115a9b19f14e0e8cc6dd5d0732cd39322cbd686c.tar.xz |
player: make abort during loading faster if ytdl_hook is used
Basically, the ytdl_hook script will not terminate the script, even if
you change to a new playlist entry. This happens because ytdl_hook keeps
the player core in an early loading stage, and the forceful playback
abort is done only in the ermination code.
This does not handle the "stop" and "quit" commands, which can still
take longer than expected, but on the other hand have some weird special
handling (see below). I'm not doing this out of laziness. Playback
stopping will have to be somewhat redone anyway. Basically we want to
give everything a chance to terminate, and if it doesn't work, we want
to stop loading or playback forcefully after a small timeout. We also
want to remove the mess with input.c's special handling of "quit" and
some other commands (see abort_playback_cb stuff).
Diffstat (limited to 'mpv_talloc.h')
0 files changed, 0 insertions, 0 deletions