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

Issue 1744153002: Reland Remove unused cricket::VideoCapturer methods. Originally reviewed and landed as patchset #2 … (Closed)

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

Reland Remove unused cricket::VideoCapturer methods. Originally reviewed and landed as patchset #2 id:30001 of https://codereview.webrtc.org/1733673002/) I readded virtual bool Pause(bool paused) for now with a dummy implementation since Chrome remoting override this method. Original cl description: Removed unused cricket::VideoCapturer methods: void UpdateAspectRatio(int ratio_w, int ratio_h); void ClearAspectRatio(); bool 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 TBR=pthatcher@webrtc.org Committed: https://crrev.com/fb45d170c08742058523f0cfe12b3f54638f61ad Cr-Commit-Position: refs/heads/master@{#11809}

Patch Set 1 #

Patch Set 2 : Fix lint warnings. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -446 lines) Patch
M webrtc/api/androidvideocapturer.cc View 2 chunks +2 lines, -6 lines 0 comments Download
M webrtc/api/test/fakeperiodicvideocapturer.h View 1 3 chunks +5 lines, -4 lines 0 comments Download
M webrtc/api/videosource.cc View 1 3 chunks +2 lines, -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 1 11 chunks +11 lines, -43 lines 0 comments Download
M webrtc/media/base/videocapturer.cc View 14 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 +0 lines, -2 lines 0 comments Download
M webrtc/pc/channelmanager.h View 1 3 chunks +3 lines, -6 lines 0 comments Download
M webrtc/pc/channelmanager.cc View 2 chunks +0 lines, -20 lines 0 comments Download

Messages

Total messages: 9 (5 generated)
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1744153002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1744153002/20001
4 years, 9 months ago (2016-02-29 08:49:23 UTC) #3
commit-bot: I haz the power
Exceeded global retry quota
4 years, 9 months ago (2016-02-29 09:21:07 UTC) #5
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/fb45d170c08742058523f0cfe12b3f54638f61ad Cr-Commit-Position: refs/heads/master@{#11809}
4 years, 9 months ago (2016-02-29 11:07:50 UTC) #8
perkj_webrtc
4 years, 9 months ago (2016-02-29 11:07:52 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
fb45d170c08742058523f0cfe12b3f54638f61ad (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698