aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-23 19:18:02 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-23 19:18:10 +0200
commit39936316f2f080bd216abd9ed49d36ba1006854d (patch)
tree06781bb69088e2136a442ef78411bfb0d97c24fc
parente1d5d4401f74051e747a6afb6be5d9becc4bda2a (diff)
Appendix
-rw-r--r--src/Video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Video.cpp b/src/Video.cpp
index 681559f..7b6dcee 100644
--- a/src/Video.cpp
+++ b/src/Video.cpp
@@ -127,7 +127,7 @@ namespace dchat
delete[] textureBuffer;
mpv_opengl_cb_uninit_gl(mpvGl);
- mpv_destroy(mpv);
+ mpv_detach_destroy(mpv);
if(renderThread.joinable())
renderThread.join();
}