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

Issue 2383093002: Delete all use of cricket::VideoFrame and cricket::WebRtcVideoFrame. (Closed)

Created:
4 years, 2 months ago by nisse-webrtc
Modified:
4 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, yujie_mao (webrtc), tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, the sun
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Delete all use of cricket::VideoFrame and cricket::WebRtcVideoFrame. Replaced with webrtc::VideoFrame. TBR=mflodman@webrtc.org BUG=webrtc:5682 Committed: https://crrev.com/45c8b8940042bd2574c39920804ade8343cefdba Cr-Commit-Position: refs/heads/master@{#14885}

Patch Set 1 #

Patch Set 2 : Rebased. #

Total comments: 2

Patch Set 3 : Deleted a newline. #

Total comments: 19

Patch Set 4 : Addressed Per's comments, except #include vs forward declare. #

Total comments: 2

Patch Set 5 : Formatting improvements. #

Patch Set 6 : Rebase. #

Total comments: 1

Patch Set 7 : objc: Add missing include of video_frame_buffer.h. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+177 lines, -208 lines) Patch
M webrtc/api/android/java/src/org/webrtc/VideoRenderer.java View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/api/android/jni/peerconnection_jni.cc View 1 2 3 4 5 7 chunks +9 lines, -10 lines 0 comments Download
M webrtc/api/androidvideotracksource.cc View 1 2 3 4 2 chunks +9 lines, -10 lines 0 comments Download
M webrtc/api/mediastreaminterface.h View 1 2 3 4 3 chunks +5 lines, -6 lines 0 comments Download
M webrtc/api/mediastreamtrackproxy.h View 1 2 3 4 1 chunk +4 lines, -6 lines 0 comments Download
M webrtc/api/videocapturertracksource_unittest.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/videosourceproxy.h View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M webrtc/api/videotrack.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/api/videotrack.cc View 1 2 3 4 2 chunks +3 lines, -5 lines 0 comments Download
M webrtc/api/videotrack_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/videotracksource.h View 1 2 3 4 2 chunks +4 lines, -5 lines 0 comments Download
M webrtc/api/videotracksource.cc View 1 2 3 4 3 chunks +3 lines, -4 lines 0 comments Download
M webrtc/examples/peerconnection/client/linux/main_wnd.h View 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/examples/peerconnection/client/linux/main_wnd.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M webrtc/examples/peerconnection/client/main_wnd.h View 1 2 3 3 chunks +3 lines, -3 lines 0 comments Download
M webrtc/examples/peerconnection/client/main_wnd.cc View 2 chunks +4 lines, -8 lines 0 comments Download
M webrtc/media/base/adaptedvideotracksource.h View 2 chunks +3 lines, -3 lines 0 comments Download
M webrtc/media/base/adaptedvideotracksource.cc View 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/media/base/fakemediaengine.h View 1 2 3 4 4 chunks +6 lines, -6 lines 0 comments Download
M webrtc/media/base/fakevideocapturer.h View 1 2 3 4 2 chunks +4 lines, -3 lines 0 comments Download
M webrtc/media/base/fakevideorenderer.h View 1 3 chunks +4 lines, -4 lines 0 comments Download
M webrtc/media/base/mediachannel.h View 1 2 3 4 5 3 chunks +3 lines, -5 lines 0 comments Download
M webrtc/media/base/testutils.h View 1 3 chunks +6 lines, -2 lines 0 comments Download
M webrtc/media/base/testutils.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/media/base/videoadapter_unittest.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/media/base/videobroadcaster.h View 3 chunks +5 lines, -6 lines 0 comments Download
M webrtc/media/base/videobroadcaster.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M webrtc/media/base/videobroadcaster_unittest.cc View 1 2 3 4 4 chunks +6 lines, -7 lines 0 comments Download
M webrtc/media/base/videocapturer.h View 1 2 3 4 4 chunks +9 lines, -4 lines 0 comments Download
M webrtc/media/base/videocapturer.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M webrtc/media/base/videosourcebase.h View 1 2 3 4 1 chunk +7 lines, -8 lines 0 comments Download
M webrtc/media/base/videosourcebase.cc View 1 2 3 4 3 chunks +3 lines, -4 lines 0 comments Download
M webrtc/media/devices/gtkvideorenderer.h View 1 1 chunk +5 lines, -5 lines 0 comments Download
M webrtc/media/devices/gtkvideorenderer.cc View 3 chunks +9 lines, -12 lines 0 comments Download
M webrtc/media/engine/webrtcvideocapturer.h View 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideocapturer.cc View 1 2 2 chunks +1 line, -5 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 2 3 4 5 9 chunks +14 lines, -17 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 5 6 chunks +9 lines, -8 lines 0 comments Download
M webrtc/pc/channel.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M webrtc/pc/channel.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCVideoFrame+Private.h View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter.mm View 2 chunks +3 lines, -5 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/RTCVideoRendererAdapter+Private.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/sdk/objc/Framework/Headers/WebRTC/RTCVideoFrame.h View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/video_frame.h View 1 2 3 4 5 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
nisse-webrtc
This is a follow up to delete all use of cricket::*VideoFrame within webrtc.
4 years, 2 months ago (2016-10-19 08:18:59 UTC) #3
pthatcher1
lgtm https://codereview.chromium.org/2383093002/diff/20001/webrtc/media/engine/webrtcvideocapturer.cc File webrtc/media/engine/webrtcvideocapturer.cc (right): https://codereview.chromium.org/2383093002/diff/20001/webrtc/media/engine/webrtcvideocapturer.cc#newcode356 webrtc/media/engine/webrtcvideocapturer.cc:356: sample.width(), sample.height()); One line?
4 years, 1 month ago (2016-10-24 17:34:20 UTC) #4
nisse-chromium (ooo August 14)
OWNER's approval needed. Zeke, please have a look at the objc changes. Per, you own ...
4 years, 1 month ago (2016-10-25 07:32:48 UTC) #6
perkj_webrtc
Great to have this done! A few ns comments / questions?. https://codereview.webrtc.org/2383093002/diff/40001/webrtc/api/mediastreaminterface.h File webrtc/api/mediastreaminterface.h (right): ...
4 years, 1 month ago (2016-10-25 10:53:37 UTC) #7
nisse-webrtc
https://codereview.webrtc.org/2383093002/diff/40001/webrtc/api/mediastreaminterface.h File webrtc/api/mediastreaminterface.h (right): https://codereview.webrtc.org/2383093002/diff/40001/webrtc/api/mediastreaminterface.h#newcode101 webrtc/api/mediastreaminterface.h:101: public rtc::VideoSourceInterface<VideoFrame> { On 2016/10/25 10:53:36, perkj_webrtc wrote: > ...
4 years, 1 month ago (2016-10-25 11:21:01 UTC) #8
perkj_webrtc
lgtm % git cl format? https://codereview.webrtc.org/2383093002/diff/40001/webrtc/media/base/testutils.h File webrtc/media/base/testutils.h (right): https://codereview.webrtc.org/2383093002/diff/40001/webrtc/media/base/testutils.h#newcode33 webrtc/media/base/testutils.h:33: class VideoFrame; On 2016/10/25 ...
4 years, 1 month ago (2016-10-27 15:56:25 UTC) #9
nisse-webrtc
https://codereview.webrtc.org/2383093002/diff/60001/webrtc/media/base/fakemediaengine.h File webrtc/media/base/fakemediaengine.h (right): https://codereview.webrtc.org/2383093002/diff/60001/webrtc/media/base/fakemediaengine.h#newcode513 webrtc/media/base/fakemediaengine.h:513: sinks() const { On 2016/10/27 15:56:25, perkj_webrtc wrote: > ...
4 years, 1 month ago (2016-10-28 08:39:49 UTC) #10
nisse-webrtc
Ping? Owner's approval needed for the objc files, and for the webrtc/video_frame.h header. Stefan, can ...
4 years, 1 month ago (2016-11-01 09:46:03 UTC) #12
perkj_webrtc
On 2016/11/01 09:46:03, nisse-webrtc wrote: > Ping? > > Owner's approval needed for the objc ...
4 years, 1 month ago (2016-11-01 18:41:24 UTC) #13
tkchin_webrtc
On 2016/11/01 18:41:24, perkj_webrtc wrote: > On 2016/11/01 09:46:03, nisse-webrtc wrote: > > Ping? > ...
4 years, 1 month ago (2016-11-01 20:06:33 UTC) #14
nisse-webrtc
https://codereview.webrtc.org/2383093002/diff/100001/webrtc/media/engine/webrtcvideoengine2.cc File webrtc/media/engine/webrtcvideoengine2.cc (right): https://codereview.webrtc.org/2383093002/diff/100001/webrtc/media/engine/webrtcvideoengine2.cc#newcode1594 webrtc/media/engine/webrtcvideoengine2.cc:1594: webrtc::VideoFrame video_frame(frame.video_frame_buffer(), Constructing this object is unnecessary, but we ...
4 years, 1 month ago (2016-11-02 08:35:33 UTC) #16
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/2383093002/100001
4 years, 1 month ago (2016-11-02 08:35:53 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_dbg/builds/12088) ios64_sim_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 1 month ago (2016-11-02 08:38:46 UTC) #21
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/2383093002/120001
4 years, 1 month ago (2016-11-02 09:03:04 UTC) #24
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 1 month ago (2016-11-02 10:20:23 UTC) #26
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/45c8b8940042bd2574c39920804ade8343cefdba Cr-Commit-Position: refs/heads/master@{#14885}
4 years, 1 month ago (2016-11-02 10:20:37 UTC) #28
nisse-webrtc
4 years, 1 month ago (2016-11-02 10:39:39 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #7 id:120001) has been created in
https://codereview.webrtc.org/2471783002/ by nisse@webrtc.org.

The reason for reverting is: Breaks chrome, see
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Mac%20Builder/build...

Analysis: Chrome uses cricket::VideoFrame, without explicitly including
webrtc/media/base/videoframe.h, and breaks when that file is no longer included
by any other webrtc headers. Will reland after updating Chrome..

Powered by Google App Engine
This is Rietveld 408576698