From: Steinar H. Gunderson Date: Sun, 23 Apr 2017 18:38:56 +0000 (+0200) Subject: Give the x264 thread a name. X-Git-Tag: 1.6.0~41 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=c47b52dd534cea744f79140290c3f8cdb6aedcae;p=nageru Give the x264 thread a name. --- diff --git a/x264_encoder.cpp b/x264_encoder.cpp index dbdef5b..8be53ce 100644 --- a/x264_encoder.cpp +++ b/x264_encoder.cpp @@ -227,6 +227,7 @@ void X264Encoder::encoder_thread_func() perror("nice()"); // No exit; it's not fatal. } + pthread_setname_np(pthread_self(), "x264_encode"); init_x264(); x264_init_done = true;