Index: webrtc/test/frame_generator.h |
diff --git a/webrtc/test/frame_generator.h b/webrtc/test/frame_generator.h |
index e7cba1c4efaefb60596ab0059d37663ef76ffae4..9a643f81615562ece5948e619d144812932a5338 100644 |
--- a/webrtc/test/frame_generator.h |
+++ b/webrtc/test/frame_generator.h |
@@ -31,6 +31,8 @@ class FrameForwarder : public rtc::VideoSourceInterface<VideoFrame> { |
FrameForwarder(); |
// Forwards |video_frame| to the registered |sink_|. |
void IncomingCapturedFrame(const VideoFrame& video_frame); |
+ rtc::VideoSinkWants sink_wants() const; |
+ bool has_sinks() const; |
private: |
void AddOrUpdateSink(rtc::VideoSinkInterface<VideoFrame>* sink, |
@@ -39,6 +41,7 @@ class FrameForwarder : public rtc::VideoSourceInterface<VideoFrame> { |
rtc::CriticalSection crit_; |
rtc::VideoSinkInterface<VideoFrame>* sink_ GUARDED_BY(crit_); |
+ rtc::VideoSinkWants sink_wants_ GUARDED_BY(crit_); |
}; |
class FrameGenerator { |