deepstream-services-library
deepstream-services-library copied to clipboard
Add new DSL GST Element caps property get/set services
New GST Element Services to set and get an Element's property of type caps. See all
- #1234
- #1233
/**
* @brief Creates a named GST Caps Object from a named Element's property of
* type caps. After the call, the new Caps Object can be queried for its
* string representation by calling dsl_gst_caps_string_get
* @param[in] name unique name for the Element to query.
* @param[in] property unique name of the property to query, typically "caps".
* @param[in] caps unique name for the Caps Object to create. The Obejects caps
* string can be queried by calling dsl_gst_caps_string_get.
* @return DSL_RESULT_SUCCESS on success, DSL_RESULT_GST_ELEMENT_RESULT otherwise.
*/
DslReturnType dsl_gst_element_property_caps_get(const wchar_t* name,
const wchar_t* property, const wchar_t* caps);
/**
* @brief Sets a named caps property for a named Element using a GST Caps Object.
* @param[in] name unique name of the Element to update.
* @param[in] property unique name of the property to update, typically "caps".
* @param[in] caps unique name of the Caps Object to use.
* @return DSL_RESULT_SUCCESS on success, DSL_RESULT_GST_ELEMENT_RESULT otherwise.
*/
DslReturnType dsl_gst_element_property_caps_set(const wchar_t* name,
const wchar_t* property, const wchar_t* caps);