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

Issue 1881933004: Introduce an IsMutable method on VideoFrameBuffer. (Closed)

Created:
4 years, 8 months ago by nisse-webrtc
Modified:
4 years, 8 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Introduce an IsMutable method on VideoFrameBuffer. Unlike HasOneRef, it can be overridden to always return false in immutable subclasses. I'm also investigating overiding it in PooledI420Buffer, to directly inherit I420Buffer but ignore the reference from the pool. Still unclear if that will work out. BUG=webrtc:5682 Committed: https://crrev.com/6bd10f2c1ac912cbe5addd880e559d59274c60e6 Cr-Commit-Position: refs/heads/master@{#12365} R=magjed@webrtc.org, pbos@webrtc.org, perkj@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/47fe34c2bd38927d78925174390a9e07efc3752f

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add default implementation of IsMutable. Intending to reland. #

Patch Set 3 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -8 lines) Patch
M webrtc/common_video/i420_buffer_pool.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/common_video/i420_buffer_pool_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/common_video/include/video_frame_buffer.h View 1 4 chunks +14 lines, -1 line 0 comments Download
M webrtc/common_video/video_frame.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webrtc/common_video/video_frame_buffer.cc View 3 chunks +14 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoframe.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 34 (15 generated)
nisse-webrtc
4 years, 8 months ago (2016-04-13 09:03:17 UTC) #2
perkj_webrtc
lgtm https://codereview.webrtc.org/1881933004/diff/1/webrtc/media/engine/webrtcvideoframe.cc File webrtc/media/engine/webrtcvideoframe.cc (right): https://codereview.webrtc.org/1881933004/diff/1/webrtc/media/engine/webrtcvideoframe.cc#newcode115 webrtc/media/engine/webrtcvideoframe.cc:115: bool WebRtcVideoFrame::IsExclusive() const { Should IsExlusive also be ...
4 years, 8 months ago (2016-04-14 06:34:51 UTC) #3
nisse-webrtc
https://codereview.webrtc.org/1881933004/diff/1/webrtc/media/engine/webrtcvideoframe.cc File webrtc/media/engine/webrtcvideoframe.cc (right): https://codereview.webrtc.org/1881933004/diff/1/webrtc/media/engine/webrtcvideoframe.cc#newcode115 webrtc/media/engine/webrtcvideoframe.cc:115: bool WebRtcVideoFrame::IsExclusive() const { On 2016/04/14 06:34:51, perkj_webrtc wrote: ...
4 years, 8 months ago (2016-04-14 06:42:28 UTC) #4
magjed_webrtc
lgtm
4 years, 8 months ago (2016-04-14 07:38:30 UTC) #5
pbos-webrtc
lgtm https://codereview.webrtc.org/1881933004/diff/1/webrtc/media/engine/webrtcvideoframe.cc File webrtc/media/engine/webrtcvideoframe.cc (right): https://codereview.webrtc.org/1881933004/diff/1/webrtc/media/engine/webrtcvideoframe.cc#newcode115 webrtc/media/engine/webrtcvideoframe.cc:115: bool WebRtcVideoFrame::IsExclusive() const { On 2016/04/14 06:42:28, nisse-webrtc ...
4 years, 8 months ago (2016-04-14 12:51:13 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881933004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881933004/1
4 years, 8 months ago (2016-04-14 12:54:02 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-14 14:54:33 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881933004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881933004/1
4 years, 8 months ago (2016-04-14 15:10:10 UTC) #12
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 8 months ago (2016-04-14 15:46:42 UTC) #13
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/6bd10f2c1ac912cbe5addd880e559d59274c60e6 Cr-Commit-Position: refs/heads/master@{#12365}
4 years, 8 months ago (2016-04-14 15:46:51 UTC) #15
guidou
A revert of this CL (patchset #1 id:1) has been created in https://codereview.webrtc.org/1885943004/ by guidou@webrtc.org. ...
4 years, 8 months ago (2016-04-14 16:34:38 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881933004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881933004/20001
4 years, 8 months ago (2016-04-15 08:34:57 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-15 11:45:53 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881933004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881933004/20001
4 years, 8 months ago (2016-04-15 11:47:41 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 8 months ago (2016-04-15 13:48:06 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1881933004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1881933004/20001
4 years, 8 months ago (2016-04-18 06:47:24 UTC) #28
commit-bot: I haz the power
Try jobs failed on following builders: win_baremetal on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_baremetal/builds/10550)
4 years, 8 months ago (2016-04-18 07:27:29 UTC) #30
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/47fe34c2bd38927d78925174390a9e07efc3752f Cr-Commit-Position: refs/heads/master@{#12404}
4 years, 8 months ago (2016-04-18 11:03:19 UTC) #32
nisse-webrtc
4 years, 8 months ago (2016-04-18 11:03:23 UTC) #34
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
47fe34c2bd38927d78925174390a9e07efc3752f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698