mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
rmtp-services: Don't display warning for invalid file ver.
The invalid format version warning for service files is an unnecessary warning which isn't necessary to display because it'll automatically fall back to the distributed version over the cached remote version.
This commit is contained in:
parent
1cff1e40e6
commit
6b66630198
@ -185,9 +185,9 @@ static json_t *open_json_file(const char *file)
|
||||
format_ver = get_int_val(root, "format_version");
|
||||
|
||||
if (format_ver != RTMP_SERVICES_FORMAT_VERSION) {
|
||||
blog(LOG_WARNING, "rtmp-common.c: [open_json_file] "
|
||||
"Wrong format version (%d), expected %d",
|
||||
format_ver, RTMP_SERVICES_FORMAT_VERSION);
|
||||
blog(LOG_DEBUG, "rtmp-common.c: [open_json_file] "
|
||||
"Wrong format version (%d), expected %d",
|
||||
format_ver, RTMP_SERVICES_FORMAT_VERSION);
|
||||
json_decref(root);
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user