Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a property to clear texture at disconnection #36

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Conversation

norihiro
Copy link
Owner

@norihiro norihiro commented Apr 16, 2024

Description

Add a property "Clear texture at disconnection".

When the property is enabled, calls obs_source_output_video with frame = NULL so that the texture will be deactivated.

How Has This Been Tested?

Checked the texture size became 0x0 when the connection was disconnected.

General checklist

  • The commit is reviewed by yourself.
  • The code is tested.
  • Document is up to date or not necessary to be changed.
  • The commit is compatible with repository's license.

Fix #34.

@norihiro norihiro added the enhancement New feature or request label Apr 16, 2024
@norihiro norihiro self-assigned this Apr 16, 2024
@norihiro norihiro merged commit 0f2d9d1 into main Apr 16, 2024
9 checks passed
@norihiro norihiro deleted the clear-texture branch April 16, 2024 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: "hide"/make source transparent on connection loss
1 participant