Always update source if elgato
The resolution changes can really cause confusion when updating, so if the source is an elgato, just always reset the filter to ensure the resolution changes.
This commit is contained in:
parent
a77c286bd3
commit
e30108ed6a
@ -1692,7 +1692,9 @@ void DeviceSource::UpdateSettings()
|
||||
if(strNewAudioDevice == "Disable" && strAudioDevice == "Disable")
|
||||
bCheckSoundOutput = false;
|
||||
|
||||
if((bNewUseAudioRender != bUseAudioRender && bCheckSoundOutput) ||
|
||||
bool eglato = sstri(strNewDevice.Array(), L"elgato") != nullptr;
|
||||
|
||||
if(eglato || (bNewUseAudioRender != bUseAudioRender && bCheckSoundOutput) ||
|
||||
(newSoundOutputType != soundOutputType && bCheckSoundOutput) || imageCX != newCX || imageCY != newCY ||
|
||||
frameIntervalDiff >= 10 || newPreferredType != preferredOutputType ||
|
||||
!strDevice.CompareI(strNewDevice) || !strAudioDevice.CompareI(strNewAudioDevice) ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user