From 39936316f2f080bd216abd9ed49d36ba1006854d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 23 Apr 2018 19:18:02 +0200 Subject: Appendix --- src/Video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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(); } -- cgit v1.2.3