Index: webrtc/media/base/videocapturer.h |
diff --git a/webrtc/media/base/videocapturer.h b/webrtc/media/base/videocapturer.h |
index edc6cd31a1b9d596042cf4b96cf7be9dc35c3e66..6a57331c5afc168218ed1510d559c08f857eced8 100644 |
--- a/webrtc/media/base/videocapturer.h |
+++ b/webrtc/media/base/videocapturer.h |
@@ -246,11 +246,6 @@ class VideoCapturer : public sigslot::has_slots<>, |
void SetCaptureFormat(const VideoFormat* format) { |
capture_format_.reset(format ? new VideoFormat(*format) : NULL); |
- if (capture_format_) { |
- ASSERT(capture_format_->interval > 0 && |
- "Capture format expected to have positive interval."); |
- video_adapter_.SetExpectedInputFrameInterval(capture_format_->interval); |
- } |
} |
void SetSupportedFormats(const std::vector<VideoFormat>& formats); |