summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--player/loadfile.c3
1 files changed, 3 insertions, 0 deletions
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,