Skip to content

Fix compatibility with OBS Studio 32#70

Open
andilippi wants to merge 1 commit intoBlankSourceCode:mainfrom
andilippi:fix-obs32-compatibility
Open

Fix compatibility with OBS Studio 32#70
andilippi wants to merge 1 commit intoBlankSourceCode:mainfrom
andilippi:fix-obs32-compatibility

Conversation

@andilippi
Copy link

  • Replace deprecated obs_sceneitem_get_info() with obs_sceneitem_get_info2()
  • Replace deprecated obs_sceneitem_set_info() with obs_sceneitem_set_info2()
  • Fixes 'attempt to call field obs_sceneitem_get_info (a nil value)' errors

- Replace deprecated obs_sceneitem_get_info() with obs_sceneitem_get_info2()
- Replace deprecated obs_sceneitem_set_info() with obs_sceneitem_set_info2()
- Fixes 'attempt to call field obs_sceneitem_get_info (a nil value)' errors
@YahirCx
Copy link

YahirCx commented Sep 25, 2025

Very goood thanks

if sceneitem_info_orig ~= nil then
log("Transform info reset back to original")
obs.obs_sceneitem_get_info(sceneitem, sceneitem_info_orig)
obs.obs_sceneitem_set_info2(sceneitem, sceneitem_info_orig)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be obs_sceneitem_get_info2 instead of set_info2

@w3903771
Copy link

w3903771 commented Oct 7, 2025

thanks, it works well

@danielkassar
Copy link

This worked, thanks!

@sekira
Copy link

sekira commented Oct 30, 2025

thx, it helps on windows 10 and OBS 32.0.1

@danilodelucio
Copy link

Thanks, this worked for me on 32.0.2. 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants