|
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}
Total comments: 2
|
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
|
Total messages: 24 (13 generated)
|