Index: webrtc/test/frame_generator.h |
diff --git a/webrtc/test/frame_generator.h b/webrtc/test/frame_generator.h |
index cea3dda1c238af42204fbb3950e316e85d9a87b4..e2519c15d9e54dfd1ac6dccd83929a5b9f44c74d 100644 |
--- a/webrtc/test/frame_generator.h |
+++ b/webrtc/test/frame_generator.h |
@@ -29,12 +29,13 @@ namespace test { |
class FrameForwarder : public rtc::VideoSourceInterface<VideoFrame> { |
public: |
FrameForwarder(); |
+ virtual ~FrameForwarder(); |
// Forwards |video_frame| to the registered |sink_|. |
- void IncomingCapturedFrame(const VideoFrame& video_frame); |
+ virtual void IncomingCapturedFrame(const VideoFrame& video_frame); |
rtc::VideoSinkWants sink_wants() const; |
bool has_sinks() const; |
- private: |
+ protected: |
void AddOrUpdateSink(rtc::VideoSinkInterface<VideoFrame>* sink, |
const rtc::VideoSinkWants& wants) override; |
void RemoveSink(rtc::VideoSinkInterface<VideoFrame>* sink) override; |