Index: remoting/client/video_renderer.h |
diff --git a/remoting/client/video_renderer.h b/remoting/client/video_renderer.h |
index 8ba04f09e2bafb0ced6a66f1af3b635f2a5d85d9..743e78ed95351848eeeed7df062752c52d94dec3 100644 |
--- a/remoting/client/video_renderer.h |
+++ b/remoting/client/video_renderer.h |
@@ -5,19 +5,18 @@ |
#ifndef REMOTING_CLIENT_VIDEO_RENDERER_H_ |
#define REMOTING_CLIENT_VIDEO_RENDERER_H_ |
-#include "remoting/protocol/video_stub.h" |
- |
namespace remoting { |
class ChromotingStats; |
namespace protocol { |
class SessionConfig; |
+class VideoStub; |
} // namespace protocol; |
// VideoRenderer is responsible for decoding and displaying incoming video |
// stream. |
-class VideoRenderer : public protocol::VideoStub { |
+class VideoRenderer { |
public: |
// Configures the renderer with the supplied |config|. This must be called |
// exactly once before video data is supplied to the renderer. |
@@ -25,6 +24,9 @@ class VideoRenderer : public protocol::VideoStub { |
// Return the statistics recorded by this client. |
virtual ChromotingStats* GetStats() = 0; |
+ |
+ // Returns the VideoStub interface of this renderer. |
+ virtual protocol::VideoStub* GetVideoStub() = 0; |
}; |
} // namespace remoting |