Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: webrtc/media/engine/webrtcvideoengine2.cc

Issue 1814763002: Cleanup of webrtc::VideoRenderer (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Use a more specific DEPS rule. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;

Powered by Google App Engine
This is Rietveld 408576698