[asterisk-commits] file: branch group/media_formats r406638 - /team/group/media_formats/include/...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jan 27 09:34:49 CST 2014


Author: file
Date: Mon Jan 27 09:34:47 2014
New Revision: 406638

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=406638
Log:
Document usage of AST_MEDIA_TYPE_UNKNOWN with ast_format_cap_add_all_by_type.

Modified:
    team/group/media_formats/include/asterisk/format_cap_ng.h

Modified: team/group/media_formats/include/asterisk/format_cap_ng.h
URL: http://svnview.digium.com/svn/asterisk/team/group/media_formats/include/asterisk/format_cap_ng.h?view=diff&rev=406638&r1=406637&r2=406638
==============================================================================
--- team/group/media_formats/include/asterisk/format_cap_ng.h (original)
+++ team/group/media_formats/include/asterisk/format_cap_ng.h Mon Jan 27 09:34:47 2014
@@ -84,6 +84,8 @@
  * \retval -1 failure
  *
  * \note A generic format with no attributes is created using the codec.
+ *
+ * \note If AST_MEDIA_TYPE_UNKNOWN is passed as the type all known codecs will be added.
  */
 int ast_format_cap_add_all_by_type(struct ast_format_cap *cap, enum ast_media_type type);
 




More information about the asterisk-commits mailing list