diff options
Diffstat (limited to 'talk/media/base/videoframefactory.cc')
-rw-r--r-- | talk/media/base/videoframefactory.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/talk/media/base/videoframefactory.cc b/talk/media/base/videoframefactory.cc index dfd97c6faa..fb81096c31 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); } |