Skip to content

[osn-filter] Remove obsolete/deprecated/disabled filters#1743

Open
sandboxcoder wants to merge 1 commit into
stagingfrom
rno/versioned-filters
Open

[osn-filter] Remove obsolete/deprecated/disabled filters#1743
sandboxcoder wants to merge 1 commit into
stagingfrom
rno/versioned-filters

Conversation

@sandboxcoder

@sandboxcoder sandboxcoder commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Description

  • use logic similar to OBSBasicFilters::CreateAddFilterPopupMenu to remove obsolete filters

Motivation and Context

Update OSN to discard obsolete filters.

How Has This Been Tested?

  • Open Desktop and verified v2 of mask_filter_v2, color_filter_v2, etc are used (there is a pull request that will depend on this one).

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • The code has been tested.
  • All commit messages are properly formatted and commits squashed where appropriate.
  • I have included updates to all appropriate documentation.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the filter type enumeration returned by OSN to omit filters that OBS marks as deprecated, disabled, or obsolete, aligning OSN behavior with OBSBasic’s filter menu logic so Desktop can prefer _v2 filters.

Changes:

  • Filtered Filter::Types results by OBS source flags (deprecated/disabled/obsolete) before returning type IDs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread obs-studio-server/source/osn-filter.cpp
* use logic similar to OBSBasicFilters::CreateAddFilterPopupMenu to
remove obsolete filters
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.

2 participants