[asterisk-dev] [Code Review] 3774: translate.c: Reduce the number of codec refs in the log when the translation matrix is rebuilt.
rmudgett
reviewboard at asterisk.org
Mon Jul 14 10:33:45 CDT 2014
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3774/
-----------------------------------------------------------
(Updated July 14, 2014, 10:33 a.m.)
Status
------
This change has been marked as submitted.
Review request for Asterisk Developers.
Changes
-------
Committed in revision 418609
Repository: Asterisk
Description
-------
There is no need to ref/unref codecs when the debug level is not high enough to output the debug message. This substantially reduces the refs log for codecs.
NOTE: The change to logger.h should go in v12+ by itself as it complements VERBOSITY_ATLEAST().
Diffs
-----
/team/group/media_formats-reviewed-trunk/main/translate.c 418567
/team/group/media_formats-reviewed-trunk/include/asterisk/logger.h 418567
Diff: https://reviewboard.asterisk.org/r/3774/diff/
Testing
-------
Thanks,
rmudgett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20140714/435d49dd/attachment.html>
More information about the asterisk-dev
mailing list