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

UI: Update profile encoder information after module load #11465

Merged
merged 1 commit into from
Oct 30, 2024

Commits on Oct 29, 2024

  1. UI: Update profile encoder information after module load

    The function InitBasicConfigDefaults2's purpose is to set up encoder-
    related settings for a profile, which requires all available encoders
    to have been discovered first.
    
    As encoders are added by runtime modules, this also means that discovery
    needs to be delayed until after modules have been loaded, but modules
    themselves require a valid profile to exist and be loaded.
    
    This leads to the requirement of profiles needing to exist in a
    half-initialized state when modules are loaded and only becoming
    fully initialized after that.
    
    This distinction is not necessary after the initial launch of obs-studio
    because runtime plugins are not hot-loadable, so the update can happen
    unconditionally at any time a plugin is changed, which implicitly
    couples every call to ActivateProfile with a call to
    UpdateProfileEncoders.
    PatTheMav committed Oct 29, 2024
    Configuration menu
    Copy the full SHA
    f0b9199 View commit details
    Browse the repository at this point in the history