obs-outputs: Fix 100% CPU usage with new network code

This commit is contained in:
Richard Stanway 2017-03-02 00:36:19 +01:00
parent ed6c25e14b
commit e63edcd436
No known key found for this signature in database
GPG Key ID: AAC1E5265D71B3FD

View File

@ -321,13 +321,14 @@ static inline void socket_thread_windows_internal(struct rtmp_stream *stream)
switch (ret) {
case RET_BREAK:
break;
goto exit_write_loop;
case RET_FATAL:
return;
case RET_CONTINUE:;
}
}
}
exit_write_loop:;
}
blog(LOG_INFO, "socket_thread_windows: Normal exit");