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

Issue 2315663002: Make cricket::VideoFrame inherit webrtc::VideoFrame. (Closed)

Created:
4 years, 3 months ago by nisse-webrtc
Modified:
4 years, 2 months 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

Make cricket::VideoFrame inherit webrtc::VideoFrame. Delete all methods but a few constructors. And similarly for the subclass cricket::WebRtcVideoFrame. TBR=tkchin@webrtc.org # Added an include line BUG=webrtc:5682 Committed: https://crrev.com/dda6ec008a0fc8d52e118814fb779032e8931968 Cr-Commit-Position: refs/heads/master@{#14576}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Delete left-over friend declaration. #

Patch Set 3 : Rebase. #

Patch Set 4 : Change aliases to inheritance. #

Patch Set 5 : Rebased. #

Total comments: 15

Patch Set 6 : Address comments (except transport_frame_id). #

Patch Set 7 : Added TODO markers. #

Total comments: 2

Patch Set 8 : Added TODO comment. #

Patch Set 9 : Add missing include of logging.h. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -1999 lines) Patch
M webrtc/media/BUILD.gn View 1 2 3 4 3 chunks +0 lines, -4 lines 0 comments Download
M webrtc/media/base/videobroadcaster.cc View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/media/base/videobroadcaster_unittest.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M webrtc/media/base/videoframe.h View 1 2 3 4 5 6 1 chunk +12 lines, -45 lines 0 comments Download
D webrtc/media/base/videoframe.cc View 1 chunk +0 lines, -171 lines 0 comments Download
D webrtc/media/base/videoframe_unittest.h View 1 2 3 4 1 chunk +0 lines, -1369 lines 0 comments Download
M webrtc/media/engine/webrtcvideocapturer.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M webrtc/media/engine/webrtcvideoframe.h View 1 2 3 4 5 6 7 2 chunks +14 lines, -88 lines 0 comments Download
D webrtc/media/engine/webrtcvideoframe.cc View 1 2 3 4 1 chunk +0 lines, -154 lines 0 comments Download
D webrtc/media/engine/webrtcvideoframe_unittest.cc View 1 2 3 4 1 chunk +0 lines, -157 lines 0 comments Download
M webrtc/media/media.gyp View 1 2 3 4 2 chunks +0 lines, -2 lines 0 comments Download
M webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.mm View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 33 (14 generated)
nisse-webrtc
This is almost possible now. Not sure in which order we should do things. To ...
4 years, 3 months ago (2016-09-06 09:47:22 UTC) #2
pthatcher1
https://codereview.webrtc.org/2315663002/diff/1/webrtc/media/base/fakevideocapturer.h File webrtc/media/base/fakevideocapturer.h (left): https://codereview.webrtc.org/2315663002/diff/1/webrtc/media/base/fakevideocapturer.h#oldcode25 webrtc/media/base/fakevideocapturer.h:25: #endif Why would fakevideocapturer.h be used if HAVE_WEBRTC_VIDEO is ...
4 years, 3 months ago (2016-09-07 18:11:39 UTC) #3
nisse-webrtc
https://codereview.webrtc.org/2315663002/diff/1/webrtc/media/base/fakevideocapturer.h File webrtc/media/base/fakevideocapturer.h (left): https://codereview.webrtc.org/2315663002/diff/1/webrtc/media/base/fakevideocapturer.h#oldcode25 webrtc/media/base/fakevideocapturer.h:25: #endif On 2016/09/07 18:11:39, pthatcher1 wrote: > Why would ...
4 years, 3 months ago (2016-09-08 11:07:13 UTC) #4
pthatcher1
This seems great. Hopefully you'll be able to land it soon. Please let me know ...
4 years, 3 months ago (2016-09-09 02:22:32 UTC) #5
nisse-webrtc
Cl https://codereview.webrtc.org/2370993003/ was landed earlier this morning, with no immediate breakages. This is the next ...
4 years, 2 months ago (2016-09-30 11:01:31 UTC) #9
nisse-webrtc
Ping?
4 years, 2 months ago (2016-10-04 14:49:14 UTC) #10
perkj_webrtc
Sorry, I was not aware this was ready and waiting. Looks great. https://codereview.webrtc.org/2315663002/diff/80001/webrtc/media/BUILD.gn File webrtc/media/BUILD.gn ...
4 years, 2 months ago (2016-10-04 15:36:24 UTC) #11
pthatcher1
Nice to see this getting so close. https://codereview.webrtc.org/2315663002/diff/80001/webrtc/media/base/videoframe.h File webrtc/media/base/videoframe.h (right): https://codereview.webrtc.org/2315663002/diff/80001/webrtc/media/base/videoframe.h#newcode11 webrtc/media/base/videoframe.h:11: // Deprecated, ...
4 years, 2 months ago (2016-10-04 15:41:54 UTC) #12
nisse-webrtc
https://codereview.webrtc.org/2315663002/diff/80001/webrtc/media/BUILD.gn File webrtc/media/BUILD.gn (left): https://codereview.webrtc.org/2315663002/diff/80001/webrtc/media/BUILD.gn#oldcode311 webrtc/media/BUILD.gn:311: "base/videoframe_unittest.h", On 2016/10/04 15:36:23, perkj_webrtc wrote: > does these ...
4 years, 2 months ago (2016-10-06 07:49:45 UTC) #13
pthatcher2
lgtm https://codereview.webrtc.org/2315663002/diff/80001/webrtc/media/engine/webrtcvideoframe.h File webrtc/media/engine/webrtcvideoframe.h (right): https://codereview.webrtc.org/2315663002/diff/80001/webrtc/media/engine/webrtcvideoframe.h#newcode42 webrtc/media/engine/webrtcvideoframe.h:42: set_timestamp(transport_frame_id); On 2016/10/06 07:49:44, nisse-webrtc wrote: > On ...
4 years, 2 months ago (2016-10-06 16:43:51 UTC) #15
perkj_webrtc
Great to see this finally happening. I am fine with just a todo and a ...
4 years, 2 months ago (2016-10-07 07:06:59 UTC) #16
nisse-webrtc
https://codereview.webrtc.org/2315663002/diff/120001/webrtc/media/engine/webrtcvideoframe.h File webrtc/media/engine/webrtcvideoframe.h (right): https://codereview.webrtc.org/2315663002/diff/120001/webrtc/media/engine/webrtcvideoframe.h#newcode41 webrtc/media/engine/webrtcvideoframe.h:41: // For now, transport_frame_id and rtp timestamp are the ...
4 years, 2 months ago (2016-10-07 12:47:31 UTC) #17
nisse-webrtc
On 2016/10/07 07:06:59, perkj_webrtc wrote: > Great to see this finally happening. Crossing my fingers ...
4 years, 2 months ago (2016-10-07 12:51:38 UTC) #18
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/2315663002/140001
4 years, 2 months ago (2016-10-07 12:51:56 UTC) #21
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/11336) ios64_sim_dbg on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 2 months ago (2016-10-07 12:55:52 UTC) #23
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/2315663002/160001
4 years, 2 months ago (2016-10-07 13:30:28 UTC) #28
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 2 months ago (2016-10-07 15:16:58 UTC) #30
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/dda6ec008a0fc8d52e118814fb779032e8931968 Cr-Commit-Position: refs/heads/master@{#14576}
4 years, 2 months ago (2016-10-07 15:17:05 UTC) #32
kjellander_webrtc
4 years, 2 months ago (2016-10-09 04:40:26 UTC) #33
Message was sent while issue was closed.
A revert of this CL (patchset #9 id:160001) has been created in
https://codereview.webrtc.org/2402853002/ by kjellander@webrtc.org.

The reason for reverting is: Breaks compile for Chromium builds:
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Linux%20Builder/bui...
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Mac%20Builder/build...

FAILED: obj/remoting/protocol/protocol/webrtc_video_renderer_adapter.o 
../../remoting/protocol/webrtc_video_renderer_adapter.cc:110:52: error: no
member named 'transport_frame_id' in 'cricket::VideoFrame'
                 weak_factory_.GetWeakPtr(), frame.transport_frame_id(),
                                             ~~~~~ ^
1 error generated.

Please run chromium trybots as described at
https://webrtc.org/contributing/#tryjobs-on-chromium-trybots before relanding..

Powered by Google App Engine
This is Rietveld 408576698