obsproject / obs-browser

CEF-based OBS Studio browser plugin
GNU General Public License v2.0
781 stars 222 forks source link

Remove CefInitialize hack argument on Windows #349

Closed jpark37 closed 2 years ago

jpark37 commented 2 years ago

Description

Newer CEF will behave as desired by passing nullptr.

Motivation and Context

Hack is brittle, and could regress.

How Has This Been Tested?

Verified WGC capture works with/without admin on old/new CEF.

Types of changes

Checklist:

RytoEX commented 2 years ago

We only removed CEF version ifdefs for versions older than 3770 (75). Does this need ifdef'd to prevent bad behavior on versions in between that and 4638 (95)?

WizardCM commented 2 years ago

I would vote an ifdef for > 3770 or just wait until we update CEF again in OBS 28.0 before merging this.

RytoEX commented 2 years ago

This looks fine to me visually. I haven't tested building.