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

Unified Diff: chromecast/renderer/media/cma_renderer.cc

Issue 1996763002: Make painting a single frame a permanent API on VideoRendererSink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments. Created 4 years, 7 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
« no previous file with comments | « cc/layers/video_frame_provider.h ('k') | media/base/null_video_sink.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/renderer/media/cma_renderer.cc
diff --git a/chromecast/renderer/media/cma_renderer.cc b/chromecast/renderer/media/cma_renderer.cc
index 2db1906e6ee76932645ed0d687921f0f13db1136..0cdd1aa6f2d8669ebf6ea1fc73c10ee2ba69c9ae 100644
--- a/chromecast/renderer/media/cma_renderer.cc
+++ b/chromecast/renderer/media/cma_renderer.cc
@@ -378,7 +378,7 @@ void CmaRenderer::OnStatisticsUpdated(
void CmaRenderer::OnNaturalSizeChanged(const gfx::Size& size) {
DCHECK(thread_checker_.CalledOnValidThread());
- video_renderer_sink_->PaintFrameUsingOldRenderingPath(
+ video_renderer_sink_->PaintSingleFrame(
video_overlay_factory_->CreateFrame(size));
client_->OnVideoNaturalSizeChange(size);
}
« no previous file with comments | « cc/layers/video_frame_provider.h ('k') | media/base/null_video_sink.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698