diff options
author | wm4 <wm4@nowhere> | 2015-09-22 11:19:39 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-22 11:19:39 +0200 |
commit | a75e933dac4c6ebfd15c7c7cc0442fb21318df2a (patch) | |
tree | 338a4e9830fd8692eecabf2f3b463b355e21d0c2 /travis-deps | |
parent | ab7ac46bcc3bb68cfa3d4dfc920f8bd7143eebe0 (diff) | |
download | mpv-a75e933dac4c6ebfd15c7c7cc0442fb21318df2a.tar.bz2 mpv-a75e933dac4c6ebfd15c7c7cc0442fb21318df2a.tar.xz |
player: fix excessive CPU usage in audio-only mode
Caused by one of the --force-window commits. The unconditional
uninit_video_out() call (which normally should be idempotent) raised
sporadic MPV_EVENT_VIDEO_RECONFIG events. This is ok, except for the
fact that clients (like a Lua script or libmpv users) would cause the
event loop to run again after receiving it, triggering a feedback loop.
Fix it by sending the events really only on a change.
Diffstat (limited to 'travis-deps')
0 files changed, 0 insertions, 0 deletions