From f37d08c2dde47b5d55a257cde7dc7d450d2e8194 Mon Sep 17 00:00:00 2001 From: Dave Clark Date: Tue, 16 Jan 2018 17:45:06 -0500 Subject: Push Gfe SDK #168 --- include/gfesdk/bindings/cpp/isdk_cpp_impl.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/gfesdk/bindings/cpp/isdk_cpp_impl.h') diff --git a/include/gfesdk/bindings/cpp/isdk_cpp_impl.h b/include/gfesdk/bindings/cpp/isdk_cpp_impl.h index 2cbfd7e..f5eb3a9 100644 --- a/include/gfesdk/bindings/cpp/isdk_cpp_impl.h +++ b/include/gfesdk/bindings/cpp/isdk_cpp_impl.h @@ -79,7 +79,11 @@ inline Core* Core::Create(CreateInputParams const& inParams, CreateResponse& out cInputParams.notificationCallback = &CoreImpl::callbackNotificationWrapper; core->m_notificationCallbackContext.reset(new CoreImpl::CallbackNotificationContext({ inParams.notificationCallback, inParams.notificationCallbackContext })); cInputParams.notificationCallbackContext = core->m_notificationCallbackContext.get(); - + } + cInputParams.targetPid = inParams.targetPid; + if (!inParams.targetPath.empty()) + { + cInputParams.targetPath = inParams.targetPath.c_str(); } NVGSDK_CreateResponse cOutputParams = { 0 }; -- cgit v1.2.3