Index: talk/media/base/videocapturer.cc |
diff --git a/talk/media/base/videocapturer.cc b/talk/media/base/videocapturer.cc |
index ca4b9069f11a02f594991e6e2c93d63f39fece99..5d9a7e022a78b2a3a8aa1e0df0b4e46d6399e5c7 100644 |
--- a/talk/media/base/videocapturer.cc |
+++ b/talk/media/base/videocapturer.cc |
@@ -82,7 +82,7 @@ CapturedFrame::CapturedFrame() |
pixel_height(0), |
time_stamp(0), |
data_size(0), |
- rotation(0), |
+ rotation(webrtc::kVideoRotation_0), |
data(NULL) {} |
// TODO(fbarchard): Remove this function once lmimediaengine stops using it. |
@@ -94,11 +94,6 @@ bool CapturedFrame::GetDataSize(uint32_t* size) const { |
return true; |
} |
-webrtc::VideoRotation CapturedFrame::GetRotation() const { |
- ASSERT(rotation == 0 || rotation == 90 || rotation == 180 || rotation == 270); |
- return static_cast<webrtc::VideoRotation>(rotation); |
-} |
- |
///////////////////////////////////////////////////////////////////// |
// Implementation of class VideoCapturer |
///////////////////////////////////////////////////////////////////// |