mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 21:42:18 +00:00
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:
parent
f537378d90
commit
98a27b3cd1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user