From fca608ccb95e4167e1885483dfd30ba71007cbb4 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 7 Jun 2014 20:25:48 +0200 Subject: client API: rename mpv_destroy() to mpv_detach_destroy() A bit verbose, but less misleading. In most cases, the API user probably actually wants mpv_terminate_destroy() instead, so the less-useful function shouldn't have a simnpler name anyway. --- player/scripting.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'player/scripting.c') diff --git a/player/scripting.c b/player/scripting.c index f866a0eaf4..5f072be1ca 100644 --- a/player/scripting.c +++ b/player/scripting.c @@ -84,7 +84,7 @@ static void *script_thread(void *p) mp_verbose(log, "Exiting...\n"); - mpv_destroy(arg->client); + mpv_detach_destroy(arg->client); talloc_free(arg); return NULL; } -- cgit v1.2.3