UI: Only update vcam output if necessary

This commit is contained in:
derrod
2023-05-13 17:53:47 +02:00
committed by Jim
parent 14a6673e2f
commit 1c3ae0707c
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)