diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5de83a9..ea8e1f1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -190,7 +190,7 @@ jobs: name: 'Windows Build' runs-on: [windows-latest] strategy: - fail-fast: true + fail-fast: false matrix: target: [x64, x86] include: diff --git a/replay-filter-async.c b/replay-filter-async.c index 6171e42..9a3448e 100644 --- a/replay-filter-async.c +++ b/replay-filter-async.c @@ -102,8 +102,11 @@ replay_filter_video(void *data, struct obs_source_frame *frame) if (obs_get_version() < MAKE_SEMANTIC_VERSION(30, 0, 0)) { filter->target_offset = 2000; - } else { + } else if (obs_get_version() < + MAKE_SEMANTIC_VERSION(30, 2, 0)) { filter->target_offset = 2008; + } else { + filter->target_offset = 2000; } } struct darray *async_cache = diff --git a/replay-source.c b/replay-source.c index 25f9a43..9072d32 100644 --- a/replay-source.c +++ b/replay-source.c @@ -7,7 +7,6 @@ #include #include #include -#include #include "replay.h" #include #include @@ -292,7 +291,7 @@ static bool EnumSceneItem(obs_scene_t *scene, obs_sceneitem_t *item, void *data) { UNUSED_PARAMETER(scene); struct siu *siu = data; - if (item->source == siu->source) { + if (obs_sceneitem_get_source(item) == siu->source) { struct obs_sceneitem_crop crop; obs_sceneitem_get_crop(item, &crop); crop.left = 0;