Cleanup: unify rotation to be enum based instead of int for degree.
Split from https://webrtc-codereview.appspot.com/37029004/ BUG=4145 R=pthatcher@webrtc.org, stefan@webrtc.org Committed: https://code.google.com/p/webrtc/source/detail?r=8257 Committed: https://code.google.com/p/webrtc/source/detail?r=8276 Review URL: https://webrtc-codereview.appspot.com/37129004 Cr-Commit-Position: refs/heads/master@{#8277} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8277 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -98,11 +98,6 @@ bool CapturedFrame::GetDataSize(uint32* size) const {
|
||||
return true;
|
||||
}
|
||||
|
||||
webrtc::kVideoRotation CapturedFrame::GetRotation() const {
|
||||
ASSERT(rotation == 0 || rotation == 90 || rotation == 180 || rotation == 270);
|
||||
return static_cast<webrtc::kVideoRotation>(rotation);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
// Implementation of class VideoCapturer
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user