diff options
author | Nicolas Pernas Maradei <nicopernas@gmail.com> | 2020-03-27 19:24:03 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-06-07 00:54:28 +0100 |
commit | c53fd4ea12cbe8917ac5d1486f52b2b216493023 (patch) | |
tree | 3fa0f36dd1c84a9c001d82797db96aea948bd875 | |
parent | 023628d455b8ae67c81d3bcb3a73bc39882ebe19 (diff) | |
download | gstreamer-plugins-good-c53fd4ea12cbe8917ac5d1486f52b2b216493023.tar.gz |
rtpsession: rename RTCP thread
RTP session starts a new thread for RTCP and names it
"rtpsession-rtcp-thread" which happens to be longer than the maximum 16B
allowed by pthread_setname_np and causes the naming to fail.
See docs for more details.
This commit simply shortens the thread's name so it can actually be set.
-rw-r--r-- | gst/rtpmanager/gstrtpsession.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/rtpmanager/gstrtpsession.c b/gst/rtpmanager/gstrtpsession.c index 04fca3716..76a7cb386 100644 --- a/gst/rtpmanager/gstrtpsession.c +++ b/gst/rtpmanager/gstrtpsession.c @@ -1205,7 +1205,7 @@ start_rtcp_thread (GstRtpSession * rtpsession) g_thread_join (rtpsession->priv->thread); /* only create a new thread if the old one was stopped. Otherwise we can * just reuse the currently running one. */ - rtpsession->priv->thread = g_thread_try_new ("rtpsession-rtcp-thread", + rtpsession->priv->thread = g_thread_try_new ("rtpsession-rtcp", (GThreadFunc) rtcp_thread, rtpsession, &error); rtpsession->priv->thread_stopped = FALSE; } |