mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user