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

Unified Diff: media/base/video_frame_metadata.h

Issue 2919863004: Add flag to signal that video frame must be drawn using an overlay. (Closed)
Patch Set: cleanup Created 3 years, 6 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/quads/yuv_video_draw_quad.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/video_frame_metadata.h
diff --git a/media/base/video_frame_metadata.h b/media/base/video_frame_metadata.h
index ce341699752dc9e91901a163569d3699ed7cc9bc..93e593f5d23abb6208a32b1ad9a76502e1f86030 100644
--- a/media/base/video_frame_metadata.h
+++ b/media/base/video_frame_metadata.h
@@ -114,6 +114,10 @@ class MEDIA_EXPORT VideoFrameMetadata {
// notified about its promotability to an overlay.
WANTS_PROMOTION_HINT,
+ // Windows only: if set, then this frame must be displayed in an overlay
sandersd (OOO until July 31) 2017/06/13 18:33:35 FYI: Android has this same situation; frames relea
+ // rather than being composited into the framebuffer.
+ REQUIRE_OVERLAY,
+
NUM_KEYS
};
« no previous file with comments | « cc/quads/yuv_video_draw_quad.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698