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

Unified Diff: media/base/video_frame_metadata.h

Issue 1885073004: Merge M51: "Disable idle suspend for GpuVideoDecoder produced frames on OSX, Win." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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 | media/blink/webmediaplayer_impl.h » ('j') | 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 8c8e20ce45e1a807db3b8c8b4db81ff5cdaf2e0b..1f6cd3539f35096fa956fe210718fad7ff632f15 100644
--- a/media/base/video_frame_metadata.h
+++ b/media/base/video_frame_metadata.h
@@ -41,6 +41,12 @@ class MEDIA_EXPORT VideoFrameMetadata {
// contexts.
COPY_REQUIRED,
+ // Indicates that the frame is owned by the decoder and that destroying the
+ // decoder will make the frame unrenderable. TODO(sandersd): Remove once OSX
+ // and Windows hardware decoders support frames which outlive the decoder.
+ // http://crbug.com/595716 and http://crbug.com/602708.
+ DECODER_OWNS_FRAME,
+
// Indicates if the current frame is the End of its current Stream. Use
// Get/SetBoolean() for this Key.
END_OF_STREAM,
« no previous file with comments | « no previous file | media/blink/webmediaplayer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698