Skip to content

frontend: Limit missing encoder check by output mode - #13950

Merged
RytoEX merged 1 commit into
obsproject:masterfrom
Warchamp7:check-missing-encoder-active-only
Sep 30, 2026
Merged

RytoEX merged 1 commit into
obsproject:masterfrom
Warchamp7:check-missing-encoder-active-only

Conversation

@Warchamp7

Copy link
Copy Markdown
Member

Description

The check added in #11340 checks the values of both the Simple and Advanced Output modes since those unfortunately are saved as separate sets of data.

However this means that if OBS is set to Simple output mode, but Advanced was configured at some point with an encoder that has since gone missing, the warning will pop up despite seemingly nothing visible being wrong in the settings window.

Fixes #13944

Motivation and Context

Fix confusing errors.

How Has This Been Tested?

Manually edited basic.ini for my profile with bad values for SimpleOutput and AdvOut encoder fields.

Bad values under SimpleOutput were only flagged when [Output]->Mode was set to Simple.
Bad values under AdvOut were only flagged when [Output]->Mode was set to Advanced.

Types of changes

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

Checklist:

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

@Warchamp7 Warchamp7 added the kind/bug Categorizes issue or PR as related to a bug. label Sep 28, 2026
@github-project-automation github-project-automation Bot moved this to Ready For Review in 33.0 Release Tracker Sep 28, 2026
@Warchamp7
Warchamp7 force-pushed the check-missing-encoder-active-only branch from 5e08237 to 57ba3da Compare September 28, 2026 21:52
@RytoEX
RytoEX requested review from PatTheMav and RytoEX September 29, 2026 16:28
@RytoEX

RytoEX commented Sep 29, 2026

Copy link
Copy Markdown
Member

cc @BarryCarlyon

@BarryCarlyon

Copy link
Copy Markdown

Will this alert if you changed from simple with a good codec to advanced with a bad codec and hit ok/save?

Just thinking of other routes that the error might be relevant for.

@RytoEX RytoEX added the release-note/fix Groups pull request under the "Fixes" section in the associated patch notes label Sep 29, 2026
@Warchamp7

Warchamp7 commented Sep 29, 2026 •

Copy link
Copy Markdown
Member Author

Will this alert if you changed from simple with a good codec to advanced with a bad codec and hit ok/save?

Just thinking of other routes that the error might be relevant for.

If you swap from Simple to Advanced, the settings dialog will block you from saving changes due to encoders not being properly configured, until you change them.

If you swap from Advanced to Simple, the values get soft reset.

@BarryCarlyon

Copy link
Copy Markdown

SHIP IT

image

@RytoEX RytoEX left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Could you explain why in the commit message?

Adjust the check for missing encoders to only check encoders for the
currently set Output Mode (Simple or Advanced).

Avoids a confusing warning when OBS is set to Simple output mode but
the encoder that was previously configured for Advanced has gone
missing.
@Warchamp7
Warchamp7 force-pushed the check-missing-encoder-active-only branch from 57ba3da to 7790069 Compare September 30, 2026 17:50
@Warchamp7

Copy link
Copy Markdown
Member Author

Could you explain why in the commit message?

Updated.

@RytoEX
RytoEX merged commit a8b04ac into obsproject:master Sep 30, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug Categorizes issue or PR as related to a bug. release-note/fix Groups pull request under the "Fixes" section in the associated patch notes

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

configured encoders are missing confusion if the bad codec is in advanced but I have simple selcted

4 participants