From 98a27b3cd1e6af743af67699318df1946ce5bf8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Wed, 1 Nov 2023 05:08:49 +0100 Subject: [PATCH] player/main: set main thread name as mpv Now that we don't prepend `mpv/` to all thread names, `main` is too ambiguous and since it is main thread it can be seen as process name. --- player/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/main.c b/player/main.c index 8f98754f2b..fed3c1deab 100644 --- a/player/main.c +++ b/player/main.c @@ -420,7 +420,7 @@ int mp_initialize(struct MPContext *mpctx, char **options) int mpv_main(int argc, char *argv[]) { - mpthread_set_name("main"); + mpthread_set_name("mpv"); struct MPContext *mpctx = mp_create(); if (!mpctx) return 1;