Index: webrtc/media/base/videoframe.h |
diff --git a/webrtc/media/base/videoframe.h b/webrtc/media/base/videoframe.h |
index c0d9e6658ebc4cc39b4705efa5233422a0227ac9..a8e3e4d1162ce775c62a7efa5eaac0f21e1262c6 100644 |
--- a/webrtc/media/base/videoframe.h |
+++ b/webrtc/media/base/videoframe.h |
@@ -91,6 +91,9 @@ |
virtual void StretchToFrame(VideoFrame *target, bool interpolate, |
bool crop) const; |
+ // Sets the video frame to black. |
+ virtual bool SetToBlack(); |
+ |
// Tests if sample is valid. Returns true if valid. |
static bool Validate(uint32_t fourcc, |
int w, |