static void ShowDShowInput(void *data) { DShowInput *input = reinterpret_cast<DShowInput*>(data); if (input->deactivateWhenNotShowing && input->active) input->QueueAction(Action::Activate); }
static void UpdateDShowInput(void *data, obs_data_t *settings) { DShowInput *input = reinterpret_cast<DShowInput*>(data); if (input->active) input->QueueAction(Action::Activate); UNUSED_PARAMETER(settings); }
static bool CrossbarConfigClicked(obs_properties_t props, obs_property_t p, void *data) { DShowInput *input = reinterpret_cast<DShowInput*>(data); input->QueueAction(Action::ConfigCrossbar1); UNUSED_PARAMETER(props); UNUSED_PARAMETER(p); return false; }