X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=x264_encoder.cpp;h=8be53ceea635b8b832466d531007c65dfd69a093;hb=763af7abe80beeb82a6f03e46ffa53db2894dbf0;hp=dbdef5b1a215e61936eae6d37e78ae47e2591288;hpb=de2324b9ad89aa5fbeb0cb8ef499d74bb9bcef14;p=nageru 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;