diff options
author | wm4 <wm4@nowhere> | 2019-01-11 11:02:23 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2019-09-19 20:37:04 +0200 |
commit | 7498fa0b3d50d9a8b0f63568b5c5dd88795b596d (patch) | |
tree | a934cee6ab4e0d07683dd8a5e3a54cdb80d39f2a /osdep/macosx_menubar.h | |
parent | 2bf1862bc1d53b7aa60a229c4a8ae0d00df4b5c8 (diff) | |
download | mpv-7498fa0b3d50d9a8b0f63568b5c5dd88795b596d.tar.bz2 mpv-7498fa0b3d50d9a8b0f63568b5c5dd88795b596d.tar.xz |
video: fix player not exiting if no video frame was rendered
E.g. "mpv null:// --demuxer=rawvideo" will "hang" by waiting for video
EOF forever. It's not signalled correctly because of the last-frame
corner case, which attempts to wait until the current frame is finally
displayed (which is signalled by whether a new frame can be queued, see
commit 1a339fa09d for some details). If no frame was ever queued, the VO
is not configured, and vo_is_ready_for_frame() never returns true.
Fix this by using vo_has_frame(), which seems to be exactly the correct
thing we need.
Diffstat (limited to 'osdep/macosx_menubar.h')
0 files changed, 0 insertions, 0 deletions