Index: media/base/video_frame.h |
diff --git a/media/base/video_frame.h b/media/base/video_frame.h |
index 128143c4dfeb88f9c499b5c1b94af8264aea9a85..8207d9be1d2456744ceef8a6265ef9269b9164b7 100644 |
--- a/media/base/video_frame.h |
+++ b/media/base/video_frame.h |
@@ -53,6 +53,9 @@ class MEDIA_EXPORT VideoFrame : public base::RefCountedThreadSafe<VideoFrame> { |
YV12A = 14, // 20bpp YUVA planar 1x1 Y, 2x2 VU, 1x1 A samples. |
}; |
+ // Returns the name of a Format as a string. |
+ static std::string FormatToString(Format format); |
+ |
// This class calls the TextureNoLongerNeededCallback when the last reference |
// on the class is destroyed. The VideoFrame holds a reference to the mailbox |
// but anyone else who queries the mailbox should also hold a reference while |