diff --git a/video/video_stream_encoder.h b/video/video_stream_encoder.h index ae0a9583bc..5282f403ab 100644 --- a/video/video_stream_encoder.h +++ b/video/video_stream_encoder.h @@ -48,8 +48,9 @@ class VideoBitrateAllocationObserver; // Call ConfigureEncoder with the codec settings. // Call Stop() when done. class VideoStreamEncoder : public rtc::VideoSinkInterface, - public EncodedImageCallback, - public AdaptationObserverInterface { + private EncodedImageCallback, + // Protected only to provide access to tests. + protected AdaptationObserverInterface { public: // Interface for receiving encoded video frames and notifications about // configuration changes.