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.
This commit is contained in:
Kacper Michajłow 2023-11-01 05:08:49 +01:00 committed by Dudemanguy
parent f537378d90
commit 98a27b3cd1
1 changed files with 1 additions and 1 deletions

View File

@ -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;