Skip to content
Snippets Groups Projects
Commit 8cb3f814 authored by Samuel Bassaly's avatar Samuel Bassaly Committed by David
Browse files

macosx: Fix a bug preventing VLC from launching

When the defaults key VideoEffectApplyProfileOnStartup is set to true,
the VLCVideoEffectsWindowController was initialized in a way that caused
the VLCMain's sharedInstance method to be called recursively on launch.

This caused the app to crash, in the VLCMain's init.

The method [VLCVideoEffectsWindowController resetValues] was the source.
In this fix, call this method with dispatch async, to get the
sharedInstance after it is fully intitalized.
This is similar to what is done in VLCAudioEffectsWindowController.

Closes #24746.
parent ed47ae16
No related branches found
No related tags found
1 merge request!625macosx: Fix a bug preventing VLC from launching
Pipeline #139240 passed with stage
in 12 minutes and 52 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment