mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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.
This commit is contained in:
parent
3368ed44a3
commit
ce0fb9bd29
1 changed files with 1 additions and 1 deletions
|
@ -1237,7 +1237,7 @@ start_rtcp_thread (GstRtpSession * rtpsession)
|
||||||
g_thread_join (rtpsession->priv->thread);
|
g_thread_join (rtpsession->priv->thread);
|
||||||
/* only create a new thread if the old one was stopped. Otherwise we can
|
/* only create a new thread if the old one was stopped. Otherwise we can
|
||||||
* just reuse the currently running one. */
|
* 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);
|
(GThreadFunc) rtcp_thread, rtpsession, &error);
|
||||||
rtpsession->priv->thread_stopped = FALSE;
|
rtpsession->priv->thread_stopped = FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue