[Asterisk-code-review] bridge_channel: Don't queue unmapped frames. (asterisk[16])

George Joseph asteriskteam at digium.com
Fri Jun 5 09:45:53 CDT 2020


George Joseph has posted comments on this change. ( https://gerrit.asterisk.org/c/asterisk/+/14503 )

Change subject: bridge_channel: Don't queue unmapped frames.
......................................................................


Patch Set 2:

(1 comment)

https://gerrit.asterisk.org/c/asterisk/+/14503/2/main/bridge_channel.c 
File main/bridge_channel.c:

https://gerrit.asterisk.org/c/asterisk/+/14503/2/main/bridge_channel.c@1063 
PS2, Line 1063: 	dup = ast_frdup(fr);
              : 	if (!dup) {
              : 		return -1;
              : 	}
              : 
> My concern was holding the lock while doing the frame duplication. It may be minor in the grand scheme of things.

Gotcha, your call.  I was trying to optimize it for the 90% use case.



-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/14503
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 16
Gerrit-Change-Id: I17189b9b1dec45fc7e4490e8081d444a25a00bda
Gerrit-Change-Number: 14503
Gerrit-PatchSet: 2
Gerrit-Owner: Joshua Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: George Joseph <gjoseph at digium.com>
Gerrit-Comment-Date: Fri, 05 Jun 2020 14:45:53 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Joshua Colp <jcolp at sangoma.com>
Comment-In-Reply-To: George Joseph <gjoseph at digium.com>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20200605/7ebc25b8/attachment.html>


More information about the asterisk-code-review mailing list