Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(27)

Issue 3009833002: Avoid calling RtpFrameObject::GetCodecHeader twice in the RtpFrameReferenceFinder. (Closed)

Created:
3 years, 3 months ago by philipel
Modified:
3 years, 3 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Avoid calling RtpFrameObject::GetCodecHeader twice in the RtpFrameReferenceFinder. This is good for a few reasons: - We avoid grabing a lock twice. - We avoid an unnecessary copy. - We avoid a race where a packet could potentially be removed before the second time we call GetCodecHeader. BUG=None Review-Url: https://codereview.webrtc.org/3009833002 Cr-Commit-Position: refs/heads/master@{#19635} Committed: https://chromium.googlesource.com/external/webrtc/+/4c14009e83bd147b440a785d7fb492da3355576c

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -11 lines) Patch
M webrtc/modules/video_coding/rtp_frame_reference_finder.h View 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/modules/video_coding/rtp_frame_reference_finder.cc View 5 chunks +10 lines, -10 lines 1 comment Download

Messages

Total messages: 15 (9 generated)
philipel
PTAL https://codereview.webrtc.org/3009833002/diff/1/webrtc/modules/video_coding/rtp_frame_reference_finder.cc File webrtc/modules/video_coding/rtp_frame_reference_finder.cc (right): https://codereview.webrtc.org/3009833002/diff/1/webrtc/modules/video_coding/rtp_frame_reference_finder.cc#newcode395 webrtc/modules/video_coding/rtp_frame_reference_finder.cc:395: if (!rtp_codec_header) I thought I had made this ...
3 years, 3 months ago (2017-08-30 08:54:38 UTC) #2
danilchap
lgtm
3 years, 3 months ago (2017-08-30 10:21:09 UTC) #3
philipel
Erik, RS please :)
3 years, 3 months ago (2017-08-30 11:17:34 UTC) #9
sprang_webrtc
lgtm
3 years, 3 months ago (2017-08-31 12:11:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/3009833002/1
3 years, 3 months ago (2017-08-31 15:07:34 UTC) #12
commit-bot: I haz the power
3 years, 3 months ago (2017-08-31 15:31:52 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/external/webrtc/+/4c14009e83bd147b440a785d7...

Powered by Google App Engine
This is Rietveld 408576698