Index: webrtc/api/androidvideocapturer.cc |
diff --git a/webrtc/api/androidvideocapturer.cc b/webrtc/api/androidvideocapturer.cc |
index db942898383a3353d4523f2bec12117644137a10..e98a4be573d8e020fd58546d3898aeba8616814f 100644 |
--- a/webrtc/api/androidvideocapturer.cc |
+++ b/webrtc/api/androidvideocapturer.cc |
@@ -189,9 +189,8 @@ void AndroidVideoCapturer::OnIncomingFrame( |
void AndroidVideoCapturer::OnOutputFormatRequest( |
int width, int height, int fps) { |
RTC_CHECK(thread_checker_.CalledOnValidThread()); |
- const cricket::VideoFormat& current = video_adapter()->output_format(); |
- cricket::VideoFormat format( |
- width, height, cricket::VideoFormat::FpsToInterval(fps), current.fourcc); |
+ cricket::VideoFormat format(width, height, |
+ cricket::VideoFormat::FpsToInterval(fps), 0); |
video_adapter()->OnOutputFormatRequest(format); |
} |