Skip to content

Commit

Permalink
fix move transition on hide and show transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
exeldro committed Feb 15, 2022
1 parent c64ec84 commit a31d239
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
run: |
curl -L -O http://s.sudre.free.fr/Software/files/Packages.dmg
sudo hdiutil attach ./Packages.dmg
sudo installer -pkg /Volumes/Packages\ 1.2.9/Install\ Packages.pkg -target /
sudo installer -pkg /Volumes/Packages\ 1.2.10/Install\ Packages.pkg -target /
- name: Package
if: success()
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.12..4.0)

project(move-transition VERSION 2.5.7)
project(move-transition VERSION 2.5.8)
set(PROJECT_FULL_NAME "Move Transition")

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in ${CMAKE_CURRENT_SOURCE_DIR}/version.h)
Expand Down
2 changes: 2 additions & 0 deletions move-transition.c
Original file line number Diff line number Diff line change
Expand Up @@ -1704,6 +1704,7 @@ static void move_video_render(void *data, gs_effect_t *effect)
obs_scene_add(scene_a, move->scene_source_a);
struct move_item *item = create_move_item();
da_push_back(move->items_a, &item);
obs_sceneitem_addref(scene_item);
item->item_a = scene_item;
item->release_scene_a = scene_a;
}
Expand Down Expand Up @@ -1734,6 +1735,7 @@ static void move_video_render(void *data, gs_effect_t *effect)
da_insert(move->items_a, move->item_pos, &item);
move->item_pos++;
}
obs_sceneitem_addref(scene_item);
item->item_b = scene_item;
item->release_scene_b = scene_b;
da_push_back(move->items_b, &item);
Expand Down

0 comments on commit a31d239

Please sign in to comment.