Index: webrtc/media/engine/webrtcvideoengine2.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc |
index 9f74a86a8480a1ec7b47948090a875ed2ce6a537..bbda44a146e496e7becddc7049b30970c1675208 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2.cc |
@@ -2082,13 +2082,6 @@ WebRtcVideoChannel2::WebRtcVideoSendStream::GetVideoSenderInfo() { |
? CoordinatedVideoAdapter::ADAPTREASON_NONE |
: CoordinatedVideoAdapter::ADAPTREASON_CPU; |
- if (capturer_) { |
- VideoFormat last_captured_frame_format; |
- capturer_->GetStats(&last_captured_frame_format); |
- info.input_frame_width = last_captured_frame_format.width; |
- info.input_frame_height = last_captured_frame_format.height; |
- } |
- |
// Get bandwidth limitation info from stream_->GetStats(). |
// Input resolution (output from video_adapter) can be further scaled down or |
// higher video layer(s) can be dropped due to bitrate constraints. |