提交 dedc454c 编写于 作者: J jp9000

libobs: Add "reorder_filters" source signal

Signals when the filter order has been changed for a source.
上级 4aa8f2d1
......@@ -87,6 +87,7 @@ static const char *source_signals[] = {
"void audio_mixers(ptr source, in out int mixers)",
"void filter_add(ptr source, ptr filter)",
"void filter_remove(ptr source, ptr filter)",
"void reorder_filters(ptr source)",
NULL
};
......@@ -1388,6 +1389,8 @@ void obs_source_filter_set_order(obs_source_t *source, obs_source_t *filter,
source->filters.array[i]->filter_target = next_filter;
}
obs_source_dosignal(source, NULL, "reorder_filters");
}
obs_data_t *obs_source_get_settings(const obs_source_t *source)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册