diff options
author | George Joseph <gjoseph@digium.com> | 2017-02-10 14:45:43 -0700 |
---|---|---|
committer | George Joseph <gjoseph@digium.com> | 2017-02-13 07:49:25 -0700 |
commit | 8b72ec312bd9fc439383a24d3f5c29b638758fd3 (patch) | |
tree | 4d3ca86c7ec86a9c7d5f297d8d012bb590b8e2fb /main/format_cap.c | |
parent | bab4885f1e923a252209db8b6011cf8a2fcb30c5 (diff) |
stream: Add media stream topology definition and API
This change adds the media stream topology definition and API for
accessing and using it.
Some refactoring of the stream was also done.
ASTERISK-26786
Change-Id: Ic930232d24d5ad66dcabc14e9b359e0ff8e7f568
Diffstat (limited to 'main/format_cap.c')
-rw-r--r-- | main/format_cap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/format_cap.c b/main/format_cap.c index 1fe342b31..b0897c001 100644 --- a/main/format_cap.c +++ b/main/format_cap.c @@ -268,6 +268,7 @@ int ast_format_cap_append_from_cap(struct ast_format_cap *dst, const struct ast_ { int idx, res = 0; + /* NOTE: The streams API is dependent on the formats being in "preference" order */ for (idx = 0; (idx < AST_VECTOR_SIZE(&src->preference_order)) && !res; ++idx) { struct format_cap_framed *framed = AST_VECTOR_GET(&src->preference_order, idx); |