summaryrefslogtreecommitdiffstats
path: root/player/main.c
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-01 05:08:49 +0100
committerDudemanguy <random342@airmail.cc>2023-11-01 13:40:26 +0000
commit98a27b3cd1e6af743af67699318df1946ce5bf8f (patch)
treeeb4266f5d5471939c265e5b4ed53c72816421759 /player/main.c
parentf537378d905810484c60c06fbb9736a78c9b01f7 (diff)
downloadmpv-98a27b3cd1e6af743af67699318df1946ce5bf8f.tar.bz2
mpv-98a27b3cd1e6af743af67699318df1946ce5bf8f.tar.xz
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.
Diffstat (limited to 'player/main.c')
-rw-r--r--player/main.c2
1 files changed, 1 insertions, 1 deletions
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;