obs-outputs: Assign names to RTMP threads

master
jp9000 2015-11-02 13:57:22 -08:00
parent e350eb5a4c
commit 247c6526cf
1 changed files with 4 additions and 0 deletions

View File

@ -296,6 +296,8 @@ static void *send_thread(void *data)
{
struct rtmp_stream *stream = data;
os_set_thread_name("rtmp-stream: send_thread");
while (os_sem_wait(stream->send_sem) == 0) {
struct encoder_packet packet;
@ -542,6 +544,8 @@ static void *connect_thread(void *data)
struct rtmp_stream *stream = data;
int ret;
os_set_thread_name("rtmp-stream: connect_thread");
init_connect(stream);
ret = try_connect(stream);