diff options
author | wm4 <wm4@nowhere> | 2020-04-09 15:03:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2020-04-09 15:03:17 +0200 |
commit | 73e565dc0fdffc5eb8a1f9466a130867a7427183 (patch) | |
tree | 2deb57563281a95370f26e26c6803d1d8c91b494 /ta/README | |
parent | 7df9f81d2208c072379a918df2002631d49fe511 (diff) | |
download | mpv-73e565dc0fdffc5eb8a1f9466a130867a7427183.tar.bz2 mpv-73e565dc0fdffc5eb8a1f9466a130867a7427183.tar.xz |
stats: fix crash if both plot_vsync_* options are disabled
In this case, init_buffers() was not called, and the unrelated cache
sample buffers were not initialized. It appears they are indeed
completely unrelated, so move their initialization away. Not sure what
exactly the purpose of calling init_buffers() is, maybe clearing old
data when displaying stats again. The new place for initializing the
cache sample buffers should achieve the same anyway.
Fixes: #7597
Diffstat (limited to 'ta/README')
0 files changed, 0 insertions, 0 deletions