| Index: talk/app/webrtc/androidvideocapturer.cc
|
| diff --git a/talk/app/webrtc/androidvideocapturer.cc b/talk/app/webrtc/androidvideocapturer.cc
|
| index 2c9c0310240d6f7553e304a7eed6001d1b9f3fa6..65f883ef9d04f0a57bda6099000932513b6c3c94 100644
|
| --- a/talk/app/webrtc/androidvideocapturer.cc
|
| +++ b/talk/app/webrtc/androidvideocapturer.cc
|
| @@ -242,4 +242,13 @@ void AndroidVideoCapturer::OnIncomingFrame(void* frame_data,
|
| SignalFrameCaptured(this, frame_factory_->GetCapturedFrame());
|
| }
|
|
|
| +void AndroidVideoCapturer::OnOutputFormatRequest(
|
| + int width, int height, int fps) {
|
| + CHECK(thread_checker_.CalledOnValidThread());
|
| + const cricket::VideoFormat& current = video_adapter()->output_format();
|
| + cricket::VideoFormat format(
|
| + width, height, cricket::VideoFormat::FpsToInterval(fps), current.fourcc);
|
| + video_adapter()->OnOutputFormatRequest(format);
|
| +}
|
| +
|
| } // namespace webrtc
|
|
|