diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-04-24 00:28:48 +0200 |
---|---|---|
committer | Niklas Haas <github-daiK1o@haasn.dev> | 2023-05-25 16:25:33 +0200 |
commit | 9fd4ae9529f749010cfd26e58ad2a7141f63b609 (patch) | |
tree | d245ede033ed1d6a50e78fcc0053a23083ca28fc /video/out/opengl/context.h | |
parent | 19c5cd92b2584b1f21848cb3d409078ce08a5fdf (diff) | |
download | mpv-9fd4ae9529f749010cfd26e58ad2a7141f63b609.tar.bz2 mpv-9fd4ae9529f749010cfd26e58ad2a7141f63b609.tar.xz |
vo: make mp_frame_perf thread safe
It was unsafe to return pointer to memory that was freed on another
thread, just copy the string to caller owned sturcture.
Fixes crashes when displaying passes stats with gpu-next.
Diffstat (limited to 'video/out/opengl/context.h')
0 files changed, 0 insertions, 0 deletions