UI: Only update vcam output if necessary

This commit is contained in:
derrod 2023-05-13 17:53:47 +02:00 • committed by Ryan Foster
commit c304480f13
2 changed files with 4 additions and 2 deletions

View file

@ -5282,7 +5282,8 @@ void OBSBasic::on_scenes_currentItemChanged(QListWidgetItem *current,
SetCurrentScene(source);
if (vcamEnabled && vcamConfig.internal == VCamInternalType::Preview)
if (vcamEnabled && vcamConfig.type == VCamOutputType::InternalOutput &&
vcamConfig.internal == VCamInternalType::Preview)
outputHandler->UpdateVirtualCamOutputSource();
if (api)