1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-02 20:28:02 +00:00
mpv/player
wm4 562d8e6d32 player: simplify edition switching
The player fully restarts playback when the edition or disk title is
changed. Before this, the player tried to reinitialized playback
partially. For example, it did not print a new "Playing: <file>"
message, and did not send playback end to libmpv users (scripts or
applications).

This playback restart code was a bit messy and could have unforeseen
interactions with various state. There have been bugs before. Since it's
a mostly cosmetic thing for an obscure feature, just change it to a full
restart. This works well, though since it may have consequences for
scripts or client API users, mention it in interface-changes.rst.
2018-05-24 19:56:35 +02:00
..
javascript
lua lua: expose mpv_abort_async_command() 2018-05-24 19:56:34 +02:00
audio.c
client.c misc: move some helper code from client.c 2018-05-24 19:56:34 +02:00
client.h command: add infrastructure for async commands 2018-05-24 19:56:34 +02:00
command.c player: simplify edition switching 2018-05-24 19:56:35 +02:00
command.h command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
configfiles.c
core.h player: simplify edition switching 2018-05-24 19:56:35 +02:00
external_files.c
external_files.h
javascript.c
loadfile.c player: simplify edition switching 2018-05-24 19:56:35 +02:00
lua.c lua: expose mpv_abort_async_command() 2018-05-24 19:56:34 +02:00
main.c misc: move mp_cancel from stream.c to thread_tools.c 2018-05-24 19:56:35 +02:00
misc.c player: use canonical playback time for video refreshes 2018-05-24 19:56:34 +02:00
osd.c
playloop.c player: don't reset last_seek_pts on playback state reset 2018-05-24 19:56:34 +02:00
screenshot.c command: add a way to abort asynchronous commands 2018-05-24 19:56:34 +02:00
screenshot.h command: move screenshot command stubs to screenshot.c 2018-05-24 19:56:34 +02:00
scripting.c
sub.c
video.c video: trust container FPS early on if possible 2018-05-24 19:56:34 +02:00