summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/context.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-04-24 00:28:48 +0200
committerNiklas Haas <github-daiK1o@haasn.dev>2023-05-25 16:25:33 +0200
commit9fd4ae9529f749010cfd26e58ad2a7141f63b609 (patch)
treed245ede033ed1d6a50e78fcc0053a23083ca28fc /video/out/opengl/context.h
parent19c5cd92b2584b1f21848cb3d409078ce08a5fdf (diff)
downloadmpv-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