Index: talk/app/webrtc/mediastreaminterface.h |
diff --git a/talk/app/webrtc/mediastreaminterface.h b/talk/app/webrtc/mediastreaminterface.h |
index f2543bb0b7288f9d4b13a75ac02ed0ff89015e8e..9b137d9f761006bc45477b455fc58b91236a7069 100644 |
--- a/talk/app/webrtc/mediastreaminterface.h |
+++ b/talk/app/webrtc/mediastreaminterface.h |
@@ -40,7 +40,6 @@ |
#include "webrtc/base/basictypes.h" |
#include "webrtc/base/refcount.h" |
#include "webrtc/base/scoped_ref_ptr.h" |
-#include "webrtc/media/base/videosinkinterface.h" |
namespace cricket { |
@@ -117,17 +116,12 @@ |
}; |
// Interface for rendering VideoFrames from a VideoTrack |
-class VideoRendererInterface |
- : public rtc::VideoSinkInterface<cricket::VideoFrame> { |
+class VideoRendererInterface { |
public: |
// |frame| may have pending rotation. For clients which can't apply rotation, |
// |frame|->GetCopyWithRotationApplied() will return a frame that has the |
// rotation applied. |
virtual void RenderFrame(const cricket::VideoFrame* frame) = 0; |
- // Intended to replace RenderFrame. |
- void OnFrame(const cricket::VideoFrame& frame) override { |
- RenderFrame(&frame); |
- } |
protected: |
// The destructor is protected to prevent deletion via the interface. |