]> git.sesse.net Git - nageru/commitdiff
Give the VideoStream thread a name.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Sep 2018 11:18:46 +0000 (13:18 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 16 Sep 2018 11:18:46 +0000 (13:18 +0200)
video_stream.cpp

index 625771fe410a2539cd53de0adad8feeb0eaeb50b..2951ff10ced84b0ae8f9fa735f930b7ee4075032 100644 (file)
@@ -353,6 +353,7 @@ void VideoStream::schedule_interpolated_frame(int64_t output_pts, unsigned strea
 
 void VideoStream::encode_thread_func()
 {
+       pthread_setname_np(pthread_self(), "VideoStream");
        QSurface *surface = create_surface();
        QOpenGLContext *context = create_context(surface);
        bool ok = make_current(context, surface);