aboutsummaryrefslogtreecommitdiff
path: root/include/gfesdk/bindings/cpp
diff options
context:
space:
mode:
authorDave Clark <[email protected]>2018-01-16 17:45:06 -0500
committerDave Clark <[email protected]>2018-01-16 17:45:06 -0500
commitf37d08c2dde47b5d55a257cde7dc7d450d2e8194 (patch)
treec30704a59a06040dff585e4a3cb6b70a0af74e13 /include/gfesdk/bindings/cpp
parentPush of missing .libs from SDK #147 (diff)
downloadarchived-gfesdk-f37d08c2dde47b5d55a257cde7dc7d450d2e8194.tar.xz
archived-gfesdk-f37d08c2dde47b5d55a257cde7dc7d450d2e8194.zip
Push Gfe SDK #1681.0.168
Diffstat (limited to 'include/gfesdk/bindings/cpp')
-rw-r--r--include/gfesdk/bindings/cpp/highlights/highlights_types_cpp.h1
-rw-r--r--include/gfesdk/bindings/cpp/isdk_cpp_impl.h6
-rw-r--r--include/gfesdk/bindings/cpp/sdk_types_cpp.h5
3 files changed, 10 insertions, 2 deletions
diff --git a/include/gfesdk/bindings/cpp/highlights/highlights_types_cpp.h b/include/gfesdk/bindings/cpp/highlights/highlights_types_cpp.h
index 1cbc2af..b18cfc2 100644
--- a/include/gfesdk/bindings/cpp/highlights/highlights_types_cpp.h
+++ b/include/gfesdk/bindings/cpp/highlights/highlights_types_cpp.h
@@ -74,6 +74,7 @@ struct GroupView
std::string groupId;
NVGSDK_HighlightType tagsFilter;
NVGSDK_HighlightSignificance significanceFilter;
+ GroupView() : tagsFilter(NVGSDK_HighlightType(0)), significanceFilter(NVGSDK_HighlightSignificance(0)) {}
};
//! C++ binding for @ref NVGSDK_SummaryParams
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 };
diff --git a/include/gfesdk/bindings/cpp/sdk_types_cpp.h b/include/gfesdk/bindings/cpp/sdk_types_cpp.h
index 557f547..fe04f0a 100644
--- a/include/gfesdk/bindings/cpp/sdk_types_cpp.h
+++ b/include/gfesdk/bindings/cpp/sdk_types_cpp.h
@@ -42,7 +42,10 @@ struct CreateInputParams
TNotificationCallback notificationCallback;
void* notificationCallbackContext;
- CreateInputParams() : pollForCallbacks(false), notificationCallback(nullptr), notificationCallbackContext(nullptr) {}
+ uint32_t targetPid; //!< Advanced usage
+ std::string targetPath; //!< Advanced usage
+
+ CreateInputParams() : pollForCallbacks(false), notificationCallback(nullptr), notificationCallbackContext(nullptr), targetPid(0) {}
};
struct RequestPermissionsParams