diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-10-22 20:59:34 +0200 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2023-10-27 23:18:56 +0000 |
commit | cb829879af8f2c93fd77c47f12c162d4ce580e30 (patch) | |
tree | 8307eb9ab1fa788f6a85bf1b69ceebb3c91bdb35 /audio/out/ao_audiotrack.c | |
parent | 65806ac4d13913d23fa64f87e01ff760f2e2b329 (diff) | |
download | mpv-cb829879af8f2c93fd77c47f12c162d4ce580e30.tar.bz2 mpv-cb829879af8f2c93fd77c47f12c162d4ce580e30.tar.xz |
mp_threads: rename threads for consistent naming across all of them
I'd like some names to be more descriptive, but to work with 15 chars
limit we have to make some sacrifice.
Also because of the limit, remove the `mpv/` prefix and prioritize
actuall thread name.
Diffstat (limited to 'audio/out/ao_audiotrack.c')
-rw-r--r-- | audio/out/ao_audiotrack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/out/ao_audiotrack.c b/audio/out/ao_audiotrack.c index 9620e45bd6..321e3cb851 100644 --- a/audio/out/ao_audiotrack.c +++ b/audio/out/ao_audiotrack.c @@ -554,7 +554,7 @@ static void *playthread(void *arg) struct ao *ao = arg; struct priv *p = ao->priv; JNIEnv *env = MP_JNI_GET_ENV(ao); - mpthread_set_name("audiotrack"); + mpthread_set_name("ao/audiotrack"); pthread_mutex_lock(&p->lock); while (!p->thread_terminate) { int state = AudioTrack.PLAYSTATE_PAUSED; |