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

Issue 2105323002: FrameBuffer2 now has Start/Stop methods. (Closed)

Created:
4 years, 5 months ago by philipel
Modified:
4 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, zhengzhonghou_agora.io, video-team_agora.io, stefan-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

FrameBuffer2 now has Start/Stop methods. The Stop method is used to signal any thread that is waiting in the NextFrame function and will cause it to return immediately. BUG=webrtc:5514 R=pbos@webrtc.org Committed: https://crrev.com/504c47d750b4516ca81c93ffb637d9a4c8fb6ea9 Cr-Commit-Position: refs/heads/master@{#13349}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Changed from Enter/Leave to CritScope. #

Total comments: 2

Patch Set 3 : Nit fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -26 lines) Patch
M webrtc/modules/video_coding/frame_buffer2.h View 2 chunks +9 lines, -0 lines 0 comments Download
M webrtc/modules/video_coding/frame_buffer2.cc View 1 2 2 chunks +43 lines, -26 lines 0 comments Download

Messages

Total messages: 23 (7 generated)
philipel
4 years, 5 months ago (2016-06-29 12:42:36 UTC) #2
pbos-webrtc
https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc#newcode56 webrtc/modules/video_coding/frame_buffer2.cc:56: crit_.Enter(); Can you replace these explicit enters with rtc::CritScope? ...
4 years, 5 months ago (2016-06-29 15:51:26 UTC) #3
philipel
https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc#newcode56 webrtc/modules/video_coding/frame_buffer2.cc:56: crit_.Enter(); On 2016/06/29 15:51:26, pbos-webrtc wrote: > Can you ...
4 years, 5 months ago (2016-06-30 09:36:56 UTC) #4
pbos-webrtc
https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc#newcode56 webrtc/modules/video_coding/frame_buffer2.cc:56: crit_.Enter(); On 2016/06/30 09:36:56, philipel wrote: > On 2016/06/29 ...
4 years, 5 months ago (2016-06-30 09:44:07 UTC) #5
philipel
https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc#newcode56 webrtc/modules/video_coding/frame_buffer2.cc:56: crit_.Enter(); On 2016/06/30 09:44:07, pbos-webrtc wrote: > On 2016/06/30 ...
4 years, 5 months ago (2016-06-30 11:37:35 UTC) #6
pbos-webrtc
https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc#newcode56 webrtc/modules/video_coding/frame_buffer2.cc:56: crit_.Enter(); On 2016/06/30 11:37:35, philipel wrote: > On 2016/06/30 ...
4 years, 5 months ago (2016-06-30 12:04:54 UTC) #7
philipel
https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc#newcode56 webrtc/modules/video_coding/frame_buffer2.cc:56: crit_.Enter(); On 2016/06/30 12:04:53, pbos-webrtc wrote: > On 2016/06/30 ...
4 years, 5 months ago (2016-06-30 12:20:04 UTC) #8
pbos-webrtc
On 2016/06/30 12:20:04, philipel wrote: > https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc > File webrtc/modules/video_coding/frame_buffer2.cc (right): > > https://codereview.webrtc.org/2105323002/diff/1/webrtc/modules/video_coding/frame_buffer2.cc#newcode56 > ...
4 years, 5 months ago (2016-06-30 12:23:27 UTC) #9
philipel
Hmmm... don't like this style, I think it is cleaner to use Enter/Leave in this ...
4 years, 5 months ago (2016-06-30 12:51:03 UTC) #10
pbos-webrtc
I think it's better to clearly see when/where a lock is taken/not taken and not ...
4 years, 5 months ago (2016-06-30 12:56:30 UTC) #11
stefan-webrtc
I agree that scoped critsects are preferable whenever possible.
4 years, 5 months ago (2016-06-30 13:19:01 UTC) #13
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/2105323002/40001
4 years, 5 months ago (2016-06-30 13:19:27 UTC) #16
philipel
https://codereview.webrtc.org/2105323002/diff/20001/webrtc/modules/video_coding/frame_buffer2.cc File webrtc/modules/video_coding/frame_buffer2.cc (right): https://codereview.webrtc.org/2105323002/diff/20001/webrtc/modules/video_coding/frame_buffer2.cc#newcode60 webrtc/modules/video_coding/frame_buffer2.cc:60: { On 2016/06/30 12:56:30, pbos-webrtc wrote: > Move next_frame ...
4 years, 5 months ago (2016-06-30 13:21:08 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14676)
4 years, 5 months ago (2016-06-30 13:28:37 UTC) #19
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/504c47d750b4516ca81c93ffb637d9a4c8fb6ea9 Cr-Commit-Position: refs/heads/master@{#13349}
4 years, 5 months ago (2016-06-30 15:33:24 UTC) #22
philipel
4 years, 5 months ago (2016-06-30 15:33:28 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
504c47d750b4516ca81c93ffb637d9a4c8fb6ea9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698