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

Issue 877283004: MediaStreamRemoteVideoSource: Wrap cricket::VideoFrame instead of copying. (Closed)

Created:
5 years, 10 months ago by magjed_chromium
Modified:
5 years, 9 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, mcasas+watch_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, mkwst+moarreviews-renderer_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MediaStreamRemoteVideoSource: Wrap cricket::VideoFrame instead of copying. We can use cricket::VideoFrame::Copy() to make a shallow reference counted copy. Committed: https://crrev.com/e8ea0c7b982aa6a5a144fa6c4454352018524682 Cr-Commit-Position: refs/heads/master@{#319866}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : tommi@s and perkj@s comments #

Patch Set 3 : Introduce |is_read_only_| to media::VideoFrame #

Total comments: 4

Patch Set 4 : const_cast #

Patch Set 5 : TODO about const_cast #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -14 lines) Patch
M content/renderer/media/webrtc/media_stream_remote_video_source.cc View 1 2 3 4 3 chunks +12 lines, -14 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
magjed_chromium
Please take a look.
5 years, 10 months ago (2015-01-29 11:56:50 UTC) #3
tommi (sloooow) - chröme
lgtm https://codereview.chromium.org/877283004/diff/20001/content/renderer/media/webrtc/media_stream_remote_video_source.cc File content/renderer/media/webrtc/media_stream_remote_video_source.cc (right): https://codereview.chromium.org/877283004/diff/20001/content/renderer/media/webrtc/media_stream_remote_video_source.cc#newcode23 content/renderer/media/webrtc/media_stream_remote_video_source.cc:23: // Release |frame| when it goes out of ...
5 years, 10 months ago (2015-01-29 14:21:41 UTC) #4
perkj_chrome
https://codereview.chromium.org/877283004/diff/20001/content/renderer/media/webrtc/media_stream_remote_video_source.cc File content/renderer/media/webrtc/media_stream_remote_video_source.cc (left): https://codereview.chromium.org/877283004/diff/20001/content/renderer/media/webrtc/media_stream_remote_video_source.cc#oldcode89 content/renderer/media/webrtc/media_stream_remote_video_source.cc:89: video_frame = frame_pool_.CreateFrame( frame_pool_ is not needed now. Please ...
5 years, 10 months ago (2015-01-30 08:57:40 UTC) #5
magjed_chromium
perkj@ pointed out that the subclass we receive is always WebRtcVideoRenderFrame, both from webrtcvideoengine.cc and ...
5 years, 10 months ago (2015-01-30 12:27:44 UTC) #6
magjed_chromium
WebRTC is updated, so this CL will remove one frame copy now. Per can you ...
5 years, 9 months ago (2015-03-06 13:11:25 UTC) #7
perkj_chrome
exciting lgtm
5 years, 9 months ago (2015-03-06 13:27:16 UTC) #8
mcasas
drive-by. https://codereview.chromium.org/877283004/diff/80001/content/renderer/media/webrtc/media_stream_remote_video_source.cc File content/renderer/media/webrtc/media_stream_remote_video_source.cc (right): https://codereview.chromium.org/877283004/diff/80001/content/renderer/media/webrtc/media_stream_remote_video_source.cc#newcode96 content/renderer/media/webrtc/media_stream_remote_video_source.cc:96: frame->GetYPlane(), frame->GetUPlane(), frame->GetVPlane(), timestamp, If I read correctly ...
5 years, 9 months ago (2015-03-06 17:29:59 UTC) #11
magjed_chromium
scherkus - Can you take a look at patch set #3? Do you have any ...
5 years, 9 months ago (2015-03-07 14:15:10 UTC) #13
magjed_chromium
I want to remove this frame copy as soon as possible, so I will const_cast ...
5 years, 9 months ago (2015-03-10 11:22:57 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/877283004/120001
5 years, 9 months ago (2015-03-10 11:23:21 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:120001)
5 years, 9 months ago (2015-03-10 12:38:12 UTC) #18
commit-bot: I haz the power
5 years, 9 months ago (2015-03-10 12:38:43 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/e8ea0c7b982aa6a5a144fa6c4454352018524682
Cr-Commit-Position: refs/heads/master@{#319866}

Powered by Google App Engine
This is Rietveld 408576698