Index: webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h |
diff --git a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h |
index ebabb8ce20d7e2202b73eca3e20e03d487324485..8bf949b36f299703a1047bc83af8d8ec7acefa82 100644 |
--- a/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h |
+++ b/webrtc/sdk/objc/Framework/Classes/avfoundationvideocapturer.h |
@@ -58,6 +58,10 @@ class AVFoundationVideoCapturer : public cricket::VideoCapturer { |
void CaptureSampleBuffer(CMSampleBufferRef sample_buffer, |
webrtc::VideoRotation rotation); |
+ // Called to adjust the size of output frames to supplied |width| and |
+ // |height|. Also drops frames to make the output match |fps|. |
+ void AdaptOutputFormat(int width, int height, int fps); |
+ |
private: |
RTCAVFoundationVideoCapturerInternal *_capturer; |
webrtc::I420BufferPool _buffer_pool; |