1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 10:32:15 +00:00
mpv/player
Kacper Michajłow 44c398c3e1 Revert "video: remove another redundant wakeup"
vo_still_displaying() is racey with vo_request_wakeup_on_done() and above
that it doesn't work as expected. VO can run out of work and go to sleep
for 1000s, while the play thread still returns on vo_still_displaying()
check, because of a check `now < frame_end` so it never advances and go
to sleep itself.

This fixes dead lock that we have when image parameters changes during
playback.

This reverts commit 0c9ac5835b.

Fixes: #12575
2023-10-07 17:50:50 +00:00
..
javascript build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
lua osc: move the idle logo behind other overlays 2023-09-27 23:05:53 +00:00
audio.c audio: drain ao before setting pause 2023-08-11 22:28:50 +00:00
client.c timer: rename mp_add_timeout to reflect what it actually does 2023-09-29 20:48:58 +00:00
client.h scripting: remove race condition when toggling internal scripts 2020-03-26 23:59:44 +01:00
command.c vo_gpu_next: improve updating overlays 2023-10-05 22:32:06 +00:00
command.h various: add missing include in header flles 2023-09-21 14:40:11 +00:00
configfiles.c player: always write redirect entries for resuming playback 2023-08-28 18:31:17 +00:00
core.h player: remove unused mutate argument in mp_next_file 2023-10-05 17:09:43 +02:00
external_files.c external_files: remove duplicate from cover art whitelist 2023-10-04 15:31:38 +00:00
external_files.h player: make all autoload extensions configurable 2023-08-26 00:33:00 +00:00
javascript.c build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
loadfile.c player: remove unused mutate argument in mp_next_file 2023-10-05 17:09:43 +02:00
lua.c build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
main.c player/main: do not print build time, if it is unknown 2023-08-02 18:51:13 +00:00
meson.build build: remove outdated generated directory 2023-07-31 19:00:06 +00:00
misc.c vo_wayland: fix warning -Wvoid-pointer-to-enum-cast 2023-02-26 16:45:07 +01:00
osd.c player: add --term-remaining-playtime option 2023-08-13 19:58:20 +00:00
playloop.c Revert "demux: improve stream selection state" 2023-09-30 09:02:57 -05:00
screenshot.c win32/pthread: define _POSIX_TIMERS to notify they are not supported 2023-09-29 20:48:58 +00:00
screenshot.h player: make screenshot each-frame mode more accurate 2020-02-07 13:32:21 +01:00
scripting.c cplugin: allow loading mpv_* symbols dynamically 2023-09-20 02:16:45 +00:00
sub.c Revert "demux: improve stream selection state" 2023-09-30 09:02:57 -05:00
video.c Revert "video: remove another redundant wakeup" 2023-10-07 17:50:50 +00:00