UI: Fix RTMP check in Advanced output
RTMP was not being recognized due to a case-sensitive comparison; this changes to a case insensitive comparison to fix the issue. Fixes a bug found in beta channel. Signed-off-by: pkv <pkv@obsproject.com>
This commit is contained in:
parent
66978c4d23
commit
60bd03e45e
1 changed files with 2 additions and 2 deletions
|
|
@ -2273,8 +2273,8 @@ bool AdvancedOutput::StartStreaming(obs_service_t *service)
|
|||
obs_service_t *service_obj = main->GetService();
|
||||
const char *protocol = obs_service_get_protocol(service_obj);
|
||||
if (protocol) {
|
||||
if (strncmp(protocol, RTMP_PROTOCOL, strlen(RTMP_PROTOCOL)) ==
|
||||
0)
|
||||
if (astrcmpi_n(protocol, RTMP_PROTOCOL,
|
||||
strlen(RTMP_PROTOCOL)) == 0)
|
||||
is_rtmp = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue