Index: webrtc/media/base/videocapturer.h |
diff --git a/webrtc/media/base/videocapturer.h b/webrtc/media/base/videocapturer.h |
index 4ad102b7f2134921ac4dde176dee400fd7bba978..4c21be70f06b027370c0601b1dc9aaaa92299a81 100644 |
--- a/webrtc/media/base/videocapturer.h |
+++ b/webrtc/media/base/videocapturer.h |
@@ -232,7 +232,7 @@ class VideoCapturer : public sigslot::has_slots<>, |
// SignalFrameCaptured or OnFrameCaptured. |
void OnFrame(VideoCapturer* capturer, const VideoFrame* frame); |
- CoordinatedVideoAdapter* video_adapter() { return &video_adapter_; } |
+ VideoAdapter* video_adapter() { return &video_adapter_; } |
void SetCaptureState(CaptureState state); |
@@ -250,8 +250,7 @@ class VideoCapturer : public sigslot::has_slots<>, |
if (capture_format_) { |
ASSERT(capture_format_->interval > 0 && |
"Capture format expected to have positive interval."); |
- // Video adapter really only cares about capture format interval. |
- video_adapter_.SetInputFormat(*capture_format_); |
+ video_adapter_.SetExpectedInputFrameInterval(capture_format_->interval); |
} |
} |
@@ -295,7 +294,7 @@ class VideoCapturer : public sigslot::has_slots<>, |
rtc::VideoBroadcaster broadcaster_; |
bool enable_video_adapter_; |
- CoordinatedVideoAdapter video_adapter_; |
+ VideoAdapter video_adapter_; |
rtc::CriticalSection frame_stats_crit_; |