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

Unified Diff: webrtc/media/base/fakevideocapturer.h

Issue 2433293003: Revert of Add method cricket::VideoCapturer::NeedsDenoising, use in VideoCapturerTrackSource. (Closed)
Patch Set: Solved patch conflicts. Created 4 years, 2 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/videocapturertracksource_unittest.cc ('k') | webrtc/media/base/videocapturer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/media/base/fakevideocapturer.h
diff --git a/webrtc/media/base/fakevideocapturer.h b/webrtc/media/base/fakevideocapturer.h
index 5b6a65cfa4de16bd644ab7988142d1c64b887c1e..ba8f01eddbee28e99710fb82c3a7ad5074b5ff10 100644
--- a/webrtc/media/base/fakevideocapturer.h
+++ b/webrtc/media/base/fakevideocapturer.h
@@ -121,9 +121,6 @@ class FakeVideoCapturer : public cricket::VideoCapturer {
}
bool IsRunning() override { return running_; }
bool IsScreencast() const override { return is_screencast_; }
- rtc::Optional<bool> NeedsDenoising() const override {
- return needs_denoising_;
- }
bool GetPreferredFourccs(std::vector<uint32_t>* fourccs) override {
fourccs->push_back(cricket::FOURCC_I420);
fourccs->push_back(cricket::FOURCC_MJPG);
@@ -136,16 +133,11 @@ class FakeVideoCapturer : public cricket::VideoCapturer {
webrtc::VideoRotation GetRotation() { return rotation_; }
- void SetNeedsDenoising(rtc::Optional<bool> needs_denoising) {
- needs_denoising_ = needs_denoising;
- }
-
private:
bool running_;
int64_t initial_timestamp_;
int64_t next_timestamp_;
const bool is_screencast_;
- rtc::Optional<bool> needs_denoising_;
webrtc::VideoRotation rotation_;
};
« no previous file with comments | « webrtc/api/videocapturertracksource_unittest.cc ('k') | webrtc/media/base/videocapturer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698