obs-studio/UI/window-basic-vcam.hpp
tytan652 7cd7ca80f8 UI: Use main video on the virtual camera if program
This change allows the virtual camera to really output what is in the
program view, some plugin interract with this view but their changes
does not appear on the virtual camera.
2023-05-30 16:16:07 -07:00

24 lines
319 B
C++

#pragma once
#include <string>
enum VCamOutputType {
Invalid,
SceneOutput,
SourceOutput,
ProgramView,
PreviewOutput,
};
// Kept for config upgrade
enum VCamInternalType {
Default,
Preview,
};
struct VCamConfig {
VCamOutputType type = VCamOutputType::ProgramView;
std::string scene;
std::string source;
};