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

Unified Diff: cc/resources/video_resource_updater.cc

Issue 313623003: WIP: Option2: Android media: VideoFrame should not store so many sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 | « no previous file | content/browser/renderer_host/media/video_capture_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/video_resource_updater.cc
diff --git a/cc/resources/video_resource_updater.cc b/cc/resources/video_resource_updater.cc
index f971ae8e5f740b62aab7b52444b5fdfeb47d641b..d4bdc3e562b07ddb149f00e29c646db628127b12 100644
--- a/cc/resources/video_resource_updater.cc
+++ b/cc/resources/video_resource_updater.cc
@@ -283,7 +283,7 @@ VideoFrameExternalResources VideoResourceUpdater::CreateForSoftwarePlanes(
static void ReturnTexture(const scoped_refptr<media::VideoFrame>& frame,
uint32 sync_point,
bool lost_resource) {
- frame->AppendReleaseSyncPoint(sync_point);
+ frame->AppendReleaseSyncPoint("compositor", sync_point);
}
VideoFrameExternalResources VideoResourceUpdater::CreateForHardwarePlanes(
« no previous file with comments | « no previous file | content/browser/renderer_host/media/video_capture_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698