Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(279)

Unified Diff: webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc

Issue 2280703002: Ignore Camera and Flip bits in CVO when parsing video rotation (Closed)
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc
diff --git a/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc b/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc
index 441c548906b07cc646faa08844dfc0d03f18832b..d4a3c4fd3e06f498e315d15c3870da0c686fd033 100644
--- a/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc
+++ b/webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc
@@ -182,7 +182,7 @@ bool VideoOrientation::IsSupportedFor(MediaType type) {
}
bool VideoOrientation::Parse(const uint8_t* data, VideoRotation* rotation) {
- *rotation = ConvertCVOByteToVideoRotation(data[0] & 0x03);
+ *rotation = ConvertCVOByteToVideoRotation(data[0]);
return true;
}

Powered by Google App Engine
This is Rietveld 408576698