summaryrefslogtreecommitdiffstats
path: root/remoting/client/plugin/pepper_video_renderer_2d.cc
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/plugin/pepper_video_renderer_2d.cc')
-rw-r--r--remoting/client/plugin/pepper_video_renderer_2d.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/remoting/client/plugin/pepper_video_renderer_2d.cc b/remoting/client/plugin/pepper_video_renderer_2d.cc
index 6f3816d..959c0b5 100644
--- a/remoting/client/plugin/pepper_video_renderer_2d.cc
+++ b/remoting/client/plugin/pepper_video_renderer_2d.cc
@@ -192,12 +192,10 @@ ChromotingStats* PepperVideoRenderer2D::GetStats() {
return software_video_renderer_->GetStats();
}
-void PepperVideoRenderer2D::ProcessVideoPacket(
- scoped_ptr<VideoPacket> video_packet,
- const base::Closure& done) {
+protocol::VideoStub* PepperVideoRenderer2D::GetVideoStub() {
DCHECK(CalledOnValidThread());
- software_video_renderer_->ProcessVideoPacket(video_packet.Pass(), done);
+ return software_video_renderer_->GetVideoStub();
}
void PepperVideoRenderer2D::ApplyBuffer(const webrtc::DesktopSize& view_size,