aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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();
}