Delete unused method webrtc::VideoRendererInterface::SetSize.
BUG=webrtc:5426 Review URL: https://codereview.webrtc.org/1582493002 Cr-Commit-Position: refs/heads/master@{#11223}
This commit is contained in:
parent
3235a27e7a
commit
3e1cfa7edb
@ -118,13 +118,6 @@ class MediaStreamTrackInterface : public rtc::RefCountInterface,
|
||||
// Interface for rendering VideoFrames from a VideoTrack
|
||||
class VideoRendererInterface {
|
||||
public:
|
||||
// TODO(guoweis): Remove this function. Obsolete. The implementation of
|
||||
// VideoRendererInterface should be able to handle different frame size as
|
||||
// well as pending rotation. If it can't apply the frame rotation by itself,
|
||||
// it should call |frame|.GetCopyWithRotationApplied() to get a frame that has
|
||||
// the rotation applied.
|
||||
virtual void SetSize(int width, int height) {}
|
||||
|
||||
// |frame| may have pending rotation. For clients which can't apply rotation,
|
||||
// |frame|->GetCopyWithRotationApplied() will return a frame that has the
|
||||
// rotation applied.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user