diff --git a/player/loadfile.c b/player/loadfile.c index d0ce28a1e1..2499c01517 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -28,6 +28,7 @@ #include "osdep/io.h" #include "osdep/terminal.h" +#include "osdep/threads.h" #include "osdep/timer.h" #include "common/msg.h" @@ -829,6 +830,8 @@ static void *open_demux_thread(void *ctx) { struct MPContext *mpctx = ctx; + mpthread_set_name("opener"); + struct demuxer_params p = { .force_format = mpctx->open_format, .stream_flags = mpctx->open_url_flags,