Merge "stream: Make the topology a reference counted object."

This commit is contained in:
Jenkins2
2018-05-08 05:42:53 -05:00
committed by Gerrit Code Review
3 changed files with 17 additions and 19 deletions

View File

@@ -306,6 +306,8 @@ void ast_stream_set_rtp_codecs(struct ast_stream *stream, struct ast_rtp_codecs
* \retval NULL failure
*
* \since 15
*
* \note This returns an ao2 refcounted object
*/
struct ast_stream_topology *ast_stream_topology_alloc(void);
@@ -318,6 +320,8 @@ struct ast_stream_topology *ast_stream_topology_alloc(void);
* \retval NULL failure
*
* \since 15
*
* \note This returns an ao2 refcounted object
*/
struct ast_stream_topology *ast_stream_topology_clone(
const struct ast_stream_topology *topology);
@@ -337,7 +341,7 @@ int ast_stream_topology_equal(const struct ast_stream_topology *left,
const struct ast_stream_topology *right);
/*!
* \brief Destroy a stream topology
* \brief Unreference and destroy a stream topology
*
* \param topology The topology of streams
*