Index: webrtc/media/engine/webrtcvideoengine2.cc |
diff --git a/webrtc/media/engine/webrtcvideoengine2.cc b/webrtc/media/engine/webrtcvideoengine2.cc |
index e34056d905257371b6f9c0db015f38a3bdcf3a85..6727cef09cfbb587d25adf91e4f599a82d2d70f7 100644 |
--- a/webrtc/media/engine/webrtcvideoengine2.cc |
+++ b/webrtc/media/engine/webrtcvideoengine2.cc |
@@ -2359,9 +2359,8 @@ void WebRtcVideoChannel2::WebRtcVideoReceiveStream::ClearDecoders( |
allocated_decoders->clear(); |
} |
-void WebRtcVideoChannel2::WebRtcVideoReceiveStream::RenderFrame( |
- const webrtc::VideoFrame& frame, |
- int time_to_render_ms) { |
+void WebRtcVideoChannel2::WebRtcVideoReceiveStream::OnFrame( |
+ const webrtc::VideoFrame& frame) { |
rtc::CritScope crit(&sink_lock_); |
if (first_frame_timestamp_ < 0) |
@@ -2388,10 +2387,6 @@ void WebRtcVideoChannel2::WebRtcVideoReceiveStream::RenderFrame( |
sink_->OnFrame(render_frame); |
} |
-bool WebRtcVideoChannel2::WebRtcVideoReceiveStream::IsTextureSupported() const { |
- return true; |
-} |
- |
bool WebRtcVideoChannel2::WebRtcVideoReceiveStream::SmoothsRenderedFrames() |
const { |
return disable_prerenderer_smoothing_; |