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

Unified Diff: media/base/video_frame_metadata.h

Issue 1688033005: Monitor VideoResourceUpdater reusing destructed resource in Debug mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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: media/base/video_frame_metadata.h
diff --git a/media/base/video_frame_metadata.h b/media/base/video_frame_metadata.h
index 12112a43ad0efc8969340ec539acf36698c8aafd..e8129b1ed7c0ab1dd27ca83a3fc2204d7e388662 100644
--- a/media/base/video_frame_metadata.h
+++ b/media/base/video_frame_metadata.h
@@ -76,6 +76,10 @@ class MEDIA_EXPORT VideoFrameMetadata {
// Use Get/SetTimeTicks() for this key.
REFERENCE_TIME,
+ // Boolean used by cc::VideoResourceUpdater to flag that this video frame's
+ // content has been cached.
+ RESOURCE_UPDATER_FLAG,
xhwang 2016/02/23 17:58:02 Also, media/base knows nothing about "cc" and "Res
xjz 2016/02/23 23:53:15 Removed this flag here. Instead, use base::Support
+
// A feedback signal that indicates the fraction of the tolerable maximum
// amount of resources that were utilized to process this frame. A producer
// can check this value after-the-fact, usually via a VideoFrame destruction
« cc/resources/video_resource_updater.h ('K') | « cc/resources/video_resource_updater.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698