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

Unified Diff: webrtc/api/test/fakeperiodicvideocapturer.h

Issue 1740963002: Revert of Removed unused cricket::VideoCapturer methods (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/api/androidvideocapturer.cc ('k') | webrtc/api/videosource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/api/test/fakeperiodicvideocapturer.h
diff --git a/webrtc/api/test/fakeperiodicvideocapturer.h b/webrtc/api/test/fakeperiodicvideocapturer.h
index 65f83ed8a6145d526bf609b2d211bf850214b4b2..256361800c2eb4e3fd1edda071f4fcf258e9a673 100644
--- a/webrtc/api/test/fakeperiodicvideocapturer.h
+++ b/webrtc/api/test/fakeperiodicvideocapturer.h
@@ -19,8 +19,7 @@
namespace webrtc {
-class FakePeriodicVideoCapturer : public cricket::FakeVideoCapturer,
- public rtc::MessageHandler {
+class FakePeriodicVideoCapturer : public cricket::FakeVideoCapturer {
public:
FakePeriodicVideoCapturer() {
std::vector<cricket::VideoFormat> formats;
@@ -56,6 +55,8 @@
GetCaptureFormat()->interval / rtc::kNumNanosecsPerMillisec),
this, MSG_CREATEFRAME);
}
+ } else {
+ FakeVideoCapturer::OnMessage(msg);
}
}
« no previous file with comments | « webrtc/api/androidvideocapturer.cc ('k') | webrtc/api/videosource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698