config cleanup
This commit is contained in:
@@ -13,9 +13,29 @@
|
||||
|
||||
namespace RenderCadenceCompositor
|
||||
{
|
||||
struct VideoInputAppConfig
|
||||
{
|
||||
std::string backend = "decklink";
|
||||
std::string device = "default";
|
||||
std::string resolution = "1080p";
|
||||
std::string frameRate = "59.94";
|
||||
};
|
||||
|
||||
struct VideoOutputAppConfig
|
||||
{
|
||||
std::string backend = "decklink";
|
||||
std::string device = "default";
|
||||
std::string resolution = "1080p";
|
||||
std::string frameRate = "59.94";
|
||||
bool externalKeyingEnabled = false;
|
||||
bool outputAlphaRequired = false;
|
||||
VideoFormat videoMode;
|
||||
};
|
||||
|
||||
struct AppConfig
|
||||
{
|
||||
VideoOutputEdgeConfig deckLink;
|
||||
VideoInputAppConfig input;
|
||||
VideoOutputAppConfig output;
|
||||
VideoOutputThreadConfig outputThread;
|
||||
TelemetryHealthMonitorConfig telemetry;
|
||||
LoggerConfig logging;
|
||||
@@ -24,12 +44,6 @@ struct AppConfig
|
||||
std::string oscBindAddress = "0.0.0.0";
|
||||
unsigned short oscPort = 9000;
|
||||
double oscSmoothing = 0.18;
|
||||
std::string inputVideoFormat = "1080p";
|
||||
std::string inputFrameRate = "59.94";
|
||||
std::string outputVideoFormat = "1080p";
|
||||
std::string outputFrameRate = "59.94";
|
||||
std::string videoInputBackend = "decklink";
|
||||
std::string videoOutputBackend = "decklink";
|
||||
bool autoReload = true;
|
||||
std::size_t maxTemporalHistoryFrames = 12;
|
||||
bool previewEnabled = false;
|
||||
|
||||
Reference in New Issue
Block a user