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

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

Issue 1695263002: Move direct use of VideoCapturer::VideoAdapter to VideoSinkWants. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Something like this? 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
Index: webrtc/media/base/videocapturer.h
diff --git a/webrtc/media/base/videocapturer.h b/webrtc/media/base/videocapturer.h
index 543af026c04f25423a79d8d309cd7f35a019acd2..b0835f746cb6162bf937a83d035a266dbec443bd 100644
--- a/webrtc/media/base/videocapturer.h
+++ b/webrtc/media/base/videocapturer.h
@@ -246,11 +246,6 @@ class VideoCapturer : public sigslot::has_slots<>,
enable_video_adapter_ = enable_video_adapter;
}
- CoordinatedVideoAdapter* video_adapter() { return &video_adapter_; }
- const CoordinatedVideoAdapter* video_adapter() const {
- return &video_adapter_;
- }
-
// Takes ownership.
void set_frame_factory(VideoFrameFactory* frame_factory);
@@ -286,6 +281,8 @@ class VideoCapturer : public sigslot::has_slots<>,
// TODO(perkj): Remove once SignalVideoFrame is removed.
void OnFrame(VideoCapturer* capturer, const VideoFrame* frame);
+ CoordinatedVideoAdapter* video_adapter() { return &video_adapter_; }
+
void SetCaptureState(CaptureState state);
// Marshals SignalStateChange onto thread_.

Powered by Google App Engine
This is Rietveld 408576698