obsproject / obs-vst

Use VST plugins in OBS
GNU General Public License v2.0
181 stars 56 forks source link

obs-vst: Update effect name even effect is unavailable #93

Closed walker-WSH closed 2 years ago

walker-WSH commented 2 years ago

Description

After choosing an unavailable effect, we should also update effect name. Otherwize the editor title will be previous effect's. But firstly we must check the magic number to make sure it is a vst2.x plugin.

Motivation and Context

fix bug about title of editor window

How Has This Been Tested?

steps: select a valid effect and open editor window; close editor window, choose an invalid effect, reopen editor window; check the editor title

Types of changes

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

Checklist: