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

Issue 2280703002: Ignore Camera and Flip bits in CVO when parsing video rotation (Closed)

Created:
4 years, 3 months ago by magjed_webrtc
Modified:
4 years, 3 months ago
Reviewers:
tommi, danilchap, pthatcher1
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, danilchap, yujie_mao (webrtc), zhuangzesen_agora.io, stefan-webrtc, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, mflodman
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Ignore Camera and Flip bits in CVO when parsing video rotation Currently, if WebRTC receives a CVO byte where the Camera or Flip bit is set, then rotation is incorrectly parsed as 0. This CL fixes that issue. The Camera and Flip bit is still unimplemented and will just be ignored though. BUG=webrtc:6120 R=danilchap@webrtc.org, pthatcher@webrtc.org, tommi@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/f9e1b922ef3e0cbe70953dfb7a1d4cb2c44a49e3

Patch Set 1 : . #

Total comments: 4

Patch Set 2 : Only store rotation, not CVO byte #

Patch Set 3 : Update unittests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -16 lines) Patch
M webrtc/DEPS View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M webrtc/common_types.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/common_types.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/include/rtp_cvo.h View 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_header_extensions.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_receiver_video.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_sender_unittest.cc View 1 2 3 chunks +24 lines, -4 lines 0 comments Download
M webrtc/modules/rtp_rtcp/source/rtp_utility.cc View 1 3 chunks +4 lines, -2 lines 0 comments Download
M webrtc/sdk/DEPS View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/video/rtp_stream_receiver.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 34 (17 generated)
magjed_webrtc
Peter - please take a look.
4 years, 3 months ago (2016-08-25 15:18:50 UTC) #6
danilchap
lgtm, this is one of the ways to fix the issue. https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h File webrtc/common_types.h (right): ...
4 years, 3 months ago (2016-08-25 15:54:17 UTC) #8
magjed_webrtc
https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h#newcode788 webrtc/common_types.h:788: // This byte actually represents the whole CVO byte: ...
4 years, 3 months ago (2016-08-26 07:56:26 UTC) #9
magjed_webrtc
tommi - can you take a look as well? I need your approval for webrtc/common_types.h.
4 years, 3 months ago (2016-08-26 07:59:58 UTC) #11
tommi
lgtm
4 years, 3 months ago (2016-08-29 13:43:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2280703002/40001
4 years, 3 months ago (2016-08-29 13:43:24 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/16080)
4 years, 3 months ago (2016-08-29 13:56:34 UTC) #16
pthatcher1
https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h#newcode788 webrtc/common_types.h:788: // This byte actually represents the whole CVO byte: ...
4 years, 3 months ago (2016-08-29 18:52:59 UTC) #17
magjed_webrtc
https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h File webrtc/common_types.h (right): https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h#newcode788 webrtc/common_types.h:788: // This byte actually represents the whole CVO byte: ...
4 years, 3 months ago (2016-08-31 11:06:59 UTC) #18
pthatcher1
lgtm On 2016/08/31 11:06:59, magjed_webrtc wrote: > https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h > File webrtc/common_types.h (right): > > https://codereview.webrtc.org/2280703002/diff/40001/webrtc/common_types.h#newcode788 ...
4 years, 3 months ago (2016-08-31 17:54:03 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2280703002/60001
4 years, 3 months ago (2016-09-01 10:11:22 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_rel/builds/17837) linux_ubsan_vptr on master.tryserver.webrtc (JOB_FAILED, ...
4 years, 3 months ago (2016-09-01 10:31:22 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2280703002/80001
4 years, 3 months ago (2016-09-01 11:13:22 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_TIMED_OUT, no build URL)
4 years, 3 months ago (2016-09-01 13:13:58 UTC) #29
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/f9e1b922ef3e0cbe70953dfb7a1d4cb2c44a49e3 Cr-Commit-Position: refs/heads/master@{#14027}
4 years, 3 months ago (2016-09-01 17:58:32 UTC) #31
magjed_webrtc
Committed patchset #3 (id:80001) manually as f9e1b922ef3e0cbe70953dfb7a1d4cb2c44a49e3 (presubmit successful).
4 years, 3 months ago (2016-09-01 17:58:34 UTC) #33
magjed_webrtc
4 years, 3 months ago (2016-09-02 08:03:03 UTC) #34
Message was sent while issue was closed.
A revert of this CL (patchset #3 id:80001) has been created in
https://codereview.webrtc.org/2300323002/ by magjed@webrtc.org.

The reason for reverting is: Breaks downstream build..

Powered by Google App Engine
This is Rietveld 408576698