Index: media/base/video_frame_metadata.h |
diff --git a/media/base/video_frame_metadata.h b/media/base/video_frame_metadata.h |
index 23b40ac3dfd712bd3636f709c0955911f72d86fd..b1134a941e7b838a78816b4d6d43afe8d329d540 100644 |
--- a/media/base/video_frame_metadata.h |
+++ b/media/base/video_frame_metadata.h |
@@ -110,6 +110,16 @@ class MEDIA_EXPORT VideoFrameMetadata { |
// Indicates that the frame is rotated. |
ROTATION, |
+ // Android only: if set, then this frame is not suitable for overlay, even |
+ // if ALLOW_OVERLAY is set. However, it allows us to process the overlay |
+ // to see if it would have been promoted, if it were backed by a SurfaceView |
+ // instead. This lets us figure out when SurfaceViews are appropriate. |
+ SURFACE_TEXTURE, |
+ |
+ // Android only: if set, then this frame's resource would like to be |
+ // notified about its promotability to an overlay. |
+ WANTS_PROMOTION_HINT, |
+ |
NUM_KEYS |
}; |