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

Issue 1613053003: Swap use of CriticalSectionWrapper for rtc::CriticalSection in webrtc/video. (Closed)

Created:
4 years, 11 months ago by tommi
Modified:
4 years, 11 months ago
Reviewers:
mflodman
CC:
webrtc-reviews_webrtc.org, video-team_agora.io, yujie_mao (webrtc), zhengzhonghou_agora.io, stefan-webrtc, tterriberry_mozilla.com, andresp, the sun, pbos-webrtc, perkj_webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Swap use of CriticalSectionWrapper for rtc::CriticalSection in webrtc/video. While doing this, I made a couple of minor changes: * Removed unused variables (one lock and one video frame variable) * Switched over to a scoped lock in remb.cc and removed an if() in a function where we can just return the expression being checked. BUG= R=mflodman@webrtc.org Committed: https://crrev.com/97888bd95a32c0fe3709a096cf37e116320f29e4 Cr-Commit-Position: refs/heads/master@{#11349}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Address comments #

Patch Set 3 : Rebase? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+129 lines, -168 lines) Patch
M webrtc/video/call_stats.h View 3 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/call_stats.cc View 7 chunks +5 lines, -7 lines 0 comments Download
M webrtc/video/encoder_state_feedback.h View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/encoder_state_feedback.cc View 8 chunks +7 lines, -9 lines 0 comments Download
M webrtc/video/end_to_end_tests.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/payload_router.h View 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/video/payload_router.cc View 6 chunks +7 lines, -9 lines 0 comments Download
M webrtc/video/receive_statistics_proxy.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/send_statistics_proxy.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/video_capture_input.h View 1 3 chunks +2 lines, -8 lines 0 comments Download
M webrtc/video/video_capture_input.cc View 1 4 chunks +3 lines, -6 lines 0 comments Download
M webrtc/video/video_capture_input_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/video_send_stream.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/video_send_stream_tests.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/vie_channel.h View 11 chunks +10 lines, -13 lines 0 comments Download
M webrtc/video/vie_channel.cc View 12 chunks +15 lines, -17 lines 0 comments Download
M webrtc/video/vie_encoder.h View 3 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/vie_encoder.cc View 16 chunks +17 lines, -19 lines 0 comments Download
M webrtc/video/vie_receiver.h View 3 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/vie_receiver.cc View 8 chunks +8 lines, -10 lines 0 comments Download
M webrtc/video/vie_remb.h View 3 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/vie_remb.cc View 7 chunks +36 lines, -43 lines 0 comments Download
M webrtc/video/vie_sync_module.h View 3 chunks +2 lines, -2 lines 0 comments Download
M webrtc/video/vie_sync_module.cc View 4 chunks +3 lines, -5 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
tommi
https://codereview.webrtc.org/1613053003/diff/1/webrtc/video/payload_router.h File webrtc/video/payload_router.h (right): https://codereview.webrtc.org/1613053003/diff/1/webrtc/video/payload_router.h#newcode70 webrtc/video/payload_router.h:70: // TODO(mflodman): When the new video API has launched, ...
4 years, 11 months ago (2016-01-21 11:46:21 UTC) #2
tommi
the red bots are complaining about a missing file in trunk. I've synced to head ...
4 years, 11 months ago (2016-01-21 13:03:11 UTC) #3
mflodman
One real comment, then lgtm. https://codereview.webrtc.org/1613053003/diff/1/webrtc/video/payload_router.h File webrtc/video/payload_router.h (right): https://codereview.webrtc.org/1613053003/diff/1/webrtc/video/payload_router.h#newcode70 webrtc/video/payload_router.h:70: // TODO(mflodman): When the ...
4 years, 11 months ago (2016-01-21 13:25:24 UTC) #4
tommi
Address comments
4 years, 11 months ago (2016-01-21 16:00:45 UTC) #5
tommi
https://codereview.webrtc.org/1613053003/diff/1/webrtc/video/payload_router.h File webrtc/video/payload_router.h (right): https://codereview.webrtc.org/1613053003/diff/1/webrtc/video/payload_router.h#newcode70 webrtc/video/payload_router.h:70: // TODO(mflodman): When the new video API has launched, ...
4 years, 11 months ago (2016-01-21 16:00:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613053003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613053003/20001
4 years, 11 months ago (2016-01-21 16:02:28 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) android_dbg on ...
4 years, 11 months ago (2016-01-21 18:02:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613053003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613053003/20001
4 years, 11 months ago (2016-01-21 18:36:25 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/5065) mac_baremetal on tryserver.webrtc (JOB_TIMED_OUT, ...
4 years, 11 months ago (2016-01-21 20:36:38 UTC) #15
tommi
Rebase?
4 years, 11 months ago (2016-01-21 22:24:05 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1613053003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1613053003/40001
4 years, 11 months ago (2016-01-21 22:24:49 UTC) #19
tommi
Committed patchset #3 (id:40001) manually as 97888bd95a32c0fe3709a096cf37e116320f29e4 (presubmit successful).
4 years, 11 months ago (2016-01-21 22:25:19 UTC) #22
commit-bot: I haz the power
4 years, 11 months ago (2016-01-21 22:25:19 UTC) #23
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/97888bd95a32c0fe3709a096cf37e116320f29e4
Cr-Commit-Position: refs/heads/master@{#11349}

Powered by Google App Engine
This is Rietveld 408576698