From 559d8ccc248fb6abf8d1110677b60d705d277a94 Mon Sep 17 00:00:00 2001 From: Saul Pablo Labajo Izquierdo Date: Tue, 5 Nov 2024 19:09:17 +0000 Subject: [PATCH] fix composite test --- server/module-elements/tests/server/composite.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/server/module-elements/tests/server/composite.cpp b/server/module-elements/tests/server/composite.cpp index e9f680e7a..b4bc9b910 100644 --- a/server/module-elements/tests/server/composite.cpp +++ b/server/module-elements/tests/server/composite.cpp @@ -22,7 +22,7 @@ #include #include #include -#include +#include #include #include #include @@ -95,7 +95,7 @@ releaseComposite (std::shared_ptr &ep) } -static std::shared_ptr +static std::shared_ptr createHubPort (std::shared_ptr composite) { std::shared_ptr port; @@ -107,11 +107,11 @@ createHubPort (std::shared_ptr composite) config, "", constructorParams ); - return std::dynamic_pointer_cast (port); + return std::dynamic_pointer_cast (port); } static void -releaseHubPort (std::shared_ptr &ep) +releaseHubPort (std::shared_ptr &ep) { std::string id = ep->getId(); @@ -207,8 +207,8 @@ composite_setup () std::shared_ptr src1 = createTestSrc(); std::shared_ptr src2 = createTestSrc(); std::shared_ptr pt = createPassThrough(mediaPipelineId); - std::shared_ptr port1 = createHubPort (composite); - std::shared_ptr port2 = createHubPort (composite); + std::shared_ptr port1 = createHubPort (composite); + std::shared_ptr port2 = createHubPort (composite); bool audio_flowing = false; bool video_flowing = false;