summaryrefslogtreecommitdiffstats
path: root/video/out/vo_gpu.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.dev>2022-03-08 13:42:13 +0100
committerNiklas Haas <git@haasn.dev>2022-03-08 13:42:13 +0100
commit803bcaa12bbf0c14071d763afbd3c0df1989ac1f (patch)
tree4cc8f9e88aca9d462bf7211d95fe0441dcd1209a /video/out/vo_gpu.c
parent124dd4270d90e05295ee959cffbefe91bafec871 (diff)
downloadmpv-803bcaa12bbf0c14071d763afbd3c0df1989ac1f.tar.bz2
mpv-803bcaa12bbf0c14071d763afbd3c0df1989ac1f.tar.xz
vo_gpu_next: don't leak mpi on failed upload
The current map_frame() code fails to clean up after itself on the failure paths. But if map_frame returns false, no cleanup code is ever attempted. Add the relevant calls to clean up state manually, throughout.
Diffstat (limited to 'video/out/vo_gpu.c')
0 files changed, 0 insertions, 0 deletions