mirror of https://github.com/mpv-player/mpv
d2d8667259
Putting this in handle_osd_redraw was strange and my own comments didn't help me remember what this was even for. The actual purpose here is that the osd needs to be redrawn in the still image edge case as you go through a playlist. This is because all the logic with checking timestamps isn't applicable and we need to essentially clear the screen with another redraw. Clearly, it makes more sense for this to be done when a new file is successfully loaded and not in the osd_redraw where that happens to work but was called repeatedly pointlessly. |
||
---|---|---|
.. | ||
javascript | ||
lua | ||
audio.c | ||
client.c | ||
client.h | ||
command.c | ||
command.h | ||
configfiles.c | ||
core.h | ||
external_files.c | ||
external_files.h | ||
javascript.c | ||
loadfile.c | ||
lua.c | ||
main.c | ||
misc.c | ||
osd.c | ||
playloop.c | ||
screenshot.c | ||
screenshot.h | ||
scripting.c | ||
sub.c | ||
video.c |