Explorar o código

..and the OSX test program

jp9000 %!s(int64=12) %!d(string=hai) anos
pai
achega
ed6acbb988
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      test/osx/test.mm

+ 2 - 2
test/osx/test.mm

@@ -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";