Esempio n. 1
0
static void ShowDShowInput(void *data)
{
	DShowInput *input = reinterpret_cast<DShowInput*>(data);

	if (input->deactivateWhenNotShowing && input->active)
		input->QueueAction(Action::Activate);
}
Esempio n. 2
0
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);
}
Esempio n. 3
0
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;
}