<p>Corey Farrell <strong>posted comments</strong> on this change.</p><p><a href="https://gerrit.asterisk.org/7197">View Change</a></p><p>Patch set 1:<span style="border-radius: 3px; display: inline-block; margin: 0 2px; padding: 4px;background-color: #ffd4d4;">Code-Review -1</span></p><p style="white-space: pre-wrap; word-wrap: break-word;">Feel free to ignore my earlier comment about not using LOW_MEMORY, but I'd like if we didn't hit threadstorage when frame caching is disabled.</p><p>(3 comments)</p><ul style="list-style: none; padding-left: 20px;"><li><p><a href="https://gerrit.asterisk.org/#/c/7197/1/channels/iax2/parser.c">File channels/iax2/parser.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/7197/1/channels/iax2/parser.c@1219">Patch Set #1, Line 1219:</a> <code style="font-family:monospace,monospace">        if (cacheable) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Can you add a check for ast_opt_cache_media_frames to avoid threadstorage when it's disabled?</p></li></ul></li><li><p><a href="https://gerrit.asterisk.org/#/c/7197/1/main/frame.c">File main/frame.c:</a></p><ul style="list-style: none; padding-left: 20px;"><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/7197/1/main/frame.c@82">Patch Set #1, Line 82:</a> <code style="font-family:monospace,monospace">  if ((frames = ast_threadstorage_get(&frame_cache, sizeof(*frames)))) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Check for ast_opt_cache_media_frames here as well?</p></li><li><p style="margin-bottom: 4px;"><a href="https://gerrit.asterisk.org/#/c/7197/1/main/frame.c@319">Patch Set #1, Line 319:</a> <code style="font-family:monospace,monospace">    if ((frames = ast_threadstorage_get(&frame_cache, sizeof(*frames)))) {</code></p><p style="white-space: pre-wrap; word-wrap: break-word;">Here as well.</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.asterisk.org/7197">change 7197</a>. To unsubscribe, visit <a href="https://gerrit.asterisk.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.asterisk.org/7197"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: comment </div>
<div style="display:none"> Gerrit-Change-Id: I0ab2ce0f4547cccf2eb214901835c2d951b78c00 </div>
<div style="display:none"> Gerrit-Change-Number: 7197 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Richard Mudgett <rmudgett@digium.com> </div>
<div style="display:none"> Gerrit-Reviewer: Corey Farrell <git@cfware.com> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins2 </div>
<div style="display:none"> Gerrit-Reviewer: Joshua Colp <jcolp@digium.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Mon, 13 Nov 2017 17:11:51 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>