| Index: content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc
|
| diff --git a/content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc b/content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc
|
| index 6d6f7ff54fd5b3137242c5fdd107356097f68829..d028b3f0c11be1d81da2084fd3f306216807050a 100644
|
| --- a/content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc
|
| +++ b/content/renderer/media/webrtc/webrtc_video_capturer_adapter.cc
|
| @@ -24,25 +24,6 @@ WebRtcVideoCapturerAdapter::~WebRtcVideoCapturerAdapter() {
|
| base::AlignedFree(buffer_);
|
| }
|
|
|
| -void WebRtcVideoCapturerAdapter::SetRequestedFormat(
|
| - const media::VideoCaptureFormat& format) {
|
| - DCHECK_EQ(media::PIXEL_FORMAT_I420, format.pixel_format);
|
| - DVLOG(3) << "WebRtcVideoCapturerAdapter::SetRequestedFormat"
|
| - << " w = " << format.frame_size.width()
|
| - << " h = " << format.frame_size.height();
|
| - cricket::VideoFormat supported_format(format.frame_size.width(),
|
| - format.frame_size.height(),
|
| - cricket::VideoFormat::FpsToInterval(
|
| - format.frame_rate),
|
| - cricket::FOURCC_I420);
|
| - SetCaptureFormat(&supported_format);
|
| -
|
| - // Update the desired aspect ratio so that later the video frame can be
|
| - // cropped to meet the requirement if the camera returns a different
|
| - // resolution than the |request|.
|
| - UpdateAspectRatio(format.frame_size.width(), format.frame_size.height());
|
| -}
|
| -
|
| cricket::CaptureState WebRtcVideoCapturerAdapter::Start(
|
| const cricket::VideoFormat& capture_format) {
|
| DCHECK(!running_);
|
|
|