mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 13:08:50 +02:00
libobs: Fix browser source settings resetting pre-24
Fixes an issue where the browser source settings will continually reset pre-24. Note that this is not 23.2.2, but the version is being temporarily updated in order to fix the issue for the release candidate build.
This commit is contained in:
parent
4e26d96e2d
commit
74a3e7246e
@ -41,7 +41,7 @@
|
||||
*
|
||||
* Reset to zero each major or minor version
|
||||
*/
|
||||
#define LIBOBS_API_PATCH_VER 1
|
||||
#define LIBOBS_API_PATCH_VER 2
|
||||
|
||||
#define MAKE_SEMANTIC_VERSION(major, minor, patch) \
|
||||
((major << 24) | (minor << 16) | patch)
|
||||
|
@ -1817,7 +1817,7 @@ static obs_source_t *obs_load_source_type(obs_data_t *source_data)
|
||||
source, (enum obs_deinterlace_field_order)di_order);
|
||||
|
||||
monitoring_type = (int)obs_data_get_int(source_data, "monitoring_type");
|
||||
if (prev_ver < MAKE_SEMANTIC_VERSION(24, 0, 0)) {
|
||||
if (prev_ver < MAKE_SEMANTIC_VERSION(23, 2, 2)) {
|
||||
if ((caps & OBS_SOURCE_MONITOR_BY_DEFAULT) != 0) {
|
||||
/* updates older sources to enable monitoring
|
||||
* automatically if they added monitoring by default in
|
||||
|
Loading…
Reference in New Issue
Block a user