]> git.sesse.net Git - nageru/blobdiff - x264_encoder.cpp
Give the x264 thread a name.
[nageru] / x264_encoder.cpp
index dbdef5b1a215e61936eae6d37e78ae47e2591288..8be53ceea635b8b832466d531007c65dfd69a093 100644 (file)
@@ -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;