Index: webrtc/media/engine/webrtcvideoengine2.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc |
index b977521f9eb4627341b85b070ad54c3a15521d9b..41faf70587d5f500ad5f0f3e1d6edec29c43777c 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2.cc |
@@ -2089,13 +2089,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. |