Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index df383d0d79849a9b746645cdf07febedeceaf461..397e5c8403690d0cca8953afd0695caf0f16457c 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -39,6 +39,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
// Surface formats roughly based on FOURCC labels, see: |
// http://www.fourcc.org/rgb.php |
// http://www.fourcc.org/yuv.php |
+ // Logged to UMA, so never reuse values. |
enum Format { |
INVALID = 0, // Invalid format value. Used for error reporting. |
RGB32 = 4, // 32bpp RGB packed with extra byte 8:8:8 |
@@ -51,6 +52,7 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
HOLE = 13, // Hole frame. |
#endif |
YV12A = 14, // 20bpp YUVA planar 1x1 Y, 2x2 VU, 1x1 A samples. |
+ NUM_FORMATS, // Must be greater than all other formats |
scherkus (not reviewing)
2013/10/29 23:39:11
based on discussion ... want to use some sort of h
|
}; |
// Returns the name of a Format as a string. |