diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-01 05:08:49 +0100 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-11-01 13:40:26 +0000 |
commit | 98a27b3cd1e6af743af67699318df1946ce5bf8f (patch) | |
tree | eb4266f5d5471939c265e5b4ed53c72816421759 /player/main.c | |
parent | f537378d905810484c60c06fbb9736a78c9b01f7 (diff) | |
download | mpv-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.c | 2 |
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; |