Skip to content

Conversation

@Warchamp7
Copy link
Member

Description

Companion PR to #12882. When a scene has been removed and it was the previously active scene, switch immediately off of it.

Motivation and Context

Fixes #12880 on the frontend side whereas #12882 fixes it on the libobs side. Both solutions are good: libobs should immediately cease using any source marked as removed and the frontend should avoid putting libobs in a state where it needs to.

How Has This Been Tested?

Deleted multiple scenes that contained Audio Input/Output captures. Performed transitions after deleting the scene and confirmed no "ghost" transitions happened caused by the scene still being held by the current transition.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Tweak (non-breaking change to improve existing functionality)

Checklist:

  • My code has been run through clang-format.
  • I have read the contributing document.
  • My code is not on the master branch.
  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

@RytoEX RytoEX requested review from PatTheMav and exeldro and removed request for exeldro December 9, 2025 19:57
@RytoEX RytoEX added the Bug Fix Non-breaking change which fixes an issue label Dec 9, 2025
@Warchamp7 Warchamp7 force-pushed the scene-delete-transitions branch from 0950cbc to 81c2ec7 Compare December 10, 2025 19:01
@RytoEX RytoEX requested review from PatTheMav and exeldro December 10, 2025 20:31
@RytoEX RytoEX self-assigned this Dec 10, 2025
@exeldro
Copy link
Contributor

exeldro commented Dec 10, 2025

The changes look good to me. There is a review requested from me, but I don't have the rights to approve.

@Warchamp7 Warchamp7 removed the request for review from exeldro December 10, 2025 20:38
@RytoEX RytoEX added this to the OBS Studio 32.0 milestone Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Fix Non-breaking change which fixes an issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Audio sources are not destroyed in Audio Mixer when deleting scene (Version 32.0.3)

4 participants