diff options
Diffstat (limited to 'include/gfesdk/bindings/cpp/isdk_cpp_impl.h')
| -rw-r--r-- | include/gfesdk/bindings/cpp/isdk_cpp_impl.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 }; |