Index: webrtc/media/base/videoframe.h |
diff --git a/webrtc/media/base/videoframe.h b/webrtc/media/base/videoframe.h |
index ef43f5222994d3ed3d363d67e640c8518705bcb5..4015f906f93c4ee0894d7a7167f4d62bf1b7b7bb 100644 |
--- a/webrtc/media/base/videoframe.h |
+++ b/webrtc/media/base/videoframe.h |
@@ -75,6 +75,14 @@ |
int h, |
const uint8_t* sample, |
size_t sample_size); |
+ |
+ protected: |
+ // Creates an empty frame. |
+ virtual VideoFrame* CreateEmptyFrame(int w, |
+ int h, |
+ int64_t timestamp_us) const = 0; |
+ |
+ virtual void set_rotation(webrtc::VideoRotation rotation) = 0; |
}; |
} // namespace cricket |