提交 ed6acbb9 编写于 作者: J jp9000

..and the OSX test program

上级 a41d4b1c
......@@ -148,14 +148,14 @@ static void test()
/* ------------------------------------------------------ */
/* create source */
SourceContext source{obs_source_create(OBS_SOURCE_INPUT,
SourceContext source{obs_source_create(OBS_SOURCE_TYPE_INPUT,
"random", "a test source", NULL)};
if (!source)
throw "Couldn't create random test source";
/* ------------------------------------------------------ */
/* create filter */
SourceContext filter{obs_source_create(OBS_SOURCE_FILTER,
SourceContext filter{obs_source_create(OBS_SOURCE_TYPE_FILTER,
"test", "a test filter", NULL)};
if (!filter)
throw "Couldn't create test filter";
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册