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

Issue 1733673002: Removed unused cricket::VideoCapturer methods (Closed)

Created:
4 years, 10 months ago by perkj_webrtc
Modified:
4 years, 10 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

Removed unused cricket::VideoCapturer methods: void UpdateAspectRatio(int ratio_w, int ratio_h); void ClearAspectRatio(); ool Pause(bool paused); Restart(const VideoFormat& capture_format); MuteToBlackThenPause(bool muted); IsMuted() const set_square_pixel_aspect_ratio bool square_pixel_aspect_ratio() This cl also remove the use of messages and posting of state change. Further more - a thread checker is added to make sure methods are called on only one thread. Construction can happen on a separate thred. It does not add restrictions on what thread frames are delivered on though. There is more features in VideoCapturer::Onframe related to screen share in ARGB that probably can be cleaned up in a follow up cl. BUG=webrtc:5426 Committed: https://crrev.com/e9c0cdff2dad2553b6ff6820c0c7429cb2854861 Cr-Commit-Position: refs/heads/master@{#11773}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fixed thread checker for android. SetCaptureFormat is called on the thread where the capturer is cr… #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -449 lines) Patch
M webrtc/api/androidvideocapturer.cc View 1 2 chunks +2 lines, -6 lines 0 comments Download
M webrtc/api/test/fakeperiodicvideocapturer.h View 2 chunks +2 lines, -3 lines 0 comments Download
M webrtc/api/videosource.cc View 1 2 chunks +1 line, -2 lines 0 comments Download
M webrtc/media/base/capturemanager.h View 1 chunk +0 lines, -9 lines 0 comments Download
M webrtc/media/base/capturemanager.cc View 1 chunk +0 lines, -56 lines 0 comments Download
M webrtc/media/base/capturemanager_unittest.cc View 1 chunk +0 lines, -38 lines 0 comments Download
M webrtc/media/base/videocapturer.h View 11 chunks +5 lines, -44 lines 0 comments Download
M webrtc/media/base/videocapturer.cc View 1 13 chunks +25 lines, -167 lines 0 comments Download
M webrtc/media/base/videocapturer_unittest.cc View 5 chunks +0 lines, -91 lines 0 comments Download
M webrtc/media/engine/webrtcvideocapturer.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideocapturer_unittest.cc View 1 chunk +1 line, -1 line 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 chunk +6 lines, -8 lines 0 comments Download
M webrtc/pc/channelmanager.h View 1 chunk +0 lines, -3 lines 0 comments Download
M webrtc/pc/channelmanager.cc View 2 chunks +0 lines, -20 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
perkj_webrtc
please?
4 years, 10 months ago (2016-02-24 16:27:24 UTC) #4
pthatcher1
lgtm https://codereview.webrtc.org/1733673002/diff/1/webrtc/api/videosource.cc File webrtc/api/videosource.cc (left): https://codereview.webrtc.org/1733673002/diff/1/webrtc/api/videosource.cc#oldcode380 webrtc/api/videosource.cc:380: void VideoSource::Restart() { FYI, I think this is ...
4 years, 10 months ago (2016-02-25 06:44:24 UTC) #5
perkj_webrtc
https://codereview.webrtc.org/1733673002/diff/1/webrtc/api/videosource.cc File webrtc/api/videosource.cc (left): https://codereview.webrtc.org/1733673002/diff/1/webrtc/api/videosource.cc#oldcode380 webrtc/api/videosource.cc:380: void VideoSource::Restart() { On 2016/02/25 06:44:24, pthatcher1 wrote: > ...
4 years, 10 months ago (2016-02-25 10:45:49 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1733673002/10001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1733673002/10001
4 years, 10 months ago (2016-02-25 10:46:24 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: android_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_rel/builds/11195)
4 years, 10 months ago (2016-02-25 11:42:41 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1733673002/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1733673002/30001
4 years, 10 months ago (2016-02-25 14:43:38 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_TIMED_OUT, no build URL) linux_baremetal on ...
4 years, 10 months ago (2016-02-25 16:44:18 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1733673002/30001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1733673002/30001
4 years, 10 months ago (2016-02-26 07:31:11 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:30001)
4 years, 10 months ago (2016-02-26 07:36:19 UTC) #21
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/e9c0cdff2dad2553b6ff6820c0c7429cb2854861 Cr-Commit-Position: refs/heads/master@{#11773}
4 years, 10 months ago (2016-02-26 07:36:31 UTC) #23
perkj_webrtc
4 years, 10 months ago (2016-02-26 10:53:48 UTC) #24
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:30001) has been created in
https://codereview.webrtc.org/1740963002/ by perkj@webrtc.org.

The reason for reverting is: Breaks
remoting::protocol::WebrtcVideoCapturerAdapter::Pause'

See
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Win%20Builder/build....

Powered by Google App Engine
This is Rietveld 408576698