Index: talk/media/base/videoframefactory.cc |
diff --git a/talk/media/base/videoframefactory.cc b/talk/media/base/videoframefactory.cc |
index dfd97c6faa8ca4636441fb6df7e6f406bb502f3e..fb81096c3106534baabccf09792d4ac8a14ae99c 100644 |
--- a/talk/media/base/videoframefactory.cc |
+++ b/talk/media/base/videoframefactory.cc |
@@ -51,8 +51,8 @@ VideoFrame* VideoFrameFactory::CreateAliasedFrame( |
// If the frame is rotated, we need to switch the width and height. |
if (apply_rotation_ && |
- (input_frame->GetRotation() == webrtc::kVideoRotation_90 || |
- input_frame->GetRotation() == webrtc::kVideoRotation_270)) { |
+ (input_frame->rotation == webrtc::kVideoRotation_90 || |
+ input_frame->rotation == webrtc::kVideoRotation_270)) { |
std::swap(output_width, output_height); |
} |