libobs: Add ability to disable sources/filters

This commit is contained in:
jp9000
2015-03-17 18:15:50 -07:00
parent 98a6c8f0d0
commit f04ef236ac
4 changed files with 63 additions and 6 deletions

View File

@@ -825,6 +825,9 @@ EXPORT void obs_source_enum_filters(obs_source_t *source,
EXPORT obs_source_t *obs_source_get_filter_by_name(obs_source_t *source,
const char *name);
EXPORT bool obs_source_enabled(const obs_source_t *source);
EXPORT void obs_source_set_enabled(obs_source_t *source, bool enabled);
/* ------------------------------------------------------------------------- */
/* Functions used by sources */