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

Issue 2536893002: Reset WebMediaPlayerMS video layer on rotation change (Closed)

Created:
4 years ago by emircan
Modified:
4 years ago
Reviewers:
qiangchen, mcasas
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reset WebMediaPlayerMS video layer on rotation change Incoming video stream's rotation might change during the session, i.e. when the remote client changes between front/back camera. This CL adds checks to find when rotation changes and resets cc_blink::WebLayerImpl with the updated rotation information. BUG=webrtc:6768, 669573 TEST=Added RotationChange unittest. Tested H264 AppRTC call between Nexus 5 and Linux while changing front/back camera. Committed: https://crrev.com/f79979ea2cff435564fe96a89b24533855f77213 Cr-Commit-Position: refs/heads/master@{#435113}

Patch Set 1 #

Total comments: 4

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -21 lines) Patch
M content/renderer/media/webmediaplayer_ms.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 2 4 chunks +36 lines, -16 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_unittest.cc View 2 chunks +16 lines, -5 lines 0 comments Download

Messages

Total messages: 42 (31 generated)
emircan
PTAL.
4 years ago (2016-11-28 22:39:33 UTC) #6
mcasas
If this issue pertains to Chrome it should be filed as a crbug and not ...
4 years ago (2016-11-29 01:04:31 UTC) #12
emircan
I added the crbug as well. We need it to request merge to older versions ...
4 years ago (2016-11-29 18:19:21 UTC) #16
mcasas
lgtm with some minor comments. https://codereview.chromium.org/2536893002/diff/1/content/renderer/media/webmediaplayer_ms.cc File content/renderer/media/webmediaplayer_ms.cc (right): https://codereview.chromium.org/2536893002/diff/1/content/renderer/media/webmediaplayer_ms.cc#newcode641 content/renderer/media/webmediaplayer_ms.cc:641: void WebMediaPlayerMS::ResetVideoLayer(media::VideoRotation video_rotation, On ...
4 years ago (2016-11-29 19:23:42 UTC) #17
emircan
https://codereview.chromium.org/2536893002/diff/1/content/renderer/media/webmediaplayer_ms.cc File content/renderer/media/webmediaplayer_ms.cc (right): https://codereview.chromium.org/2536893002/diff/1/content/renderer/media/webmediaplayer_ms.cc#newcode641 content/renderer/media/webmediaplayer_ms.cc:641: void WebMediaPlayerMS::ResetVideoLayer(media::VideoRotation video_rotation, On 2016/11/29 19:23:42, mcasas wrote: > ...
4 years ago (2016-11-29 19:48:25 UTC) #21
qiangchen
lgtm
4 years ago (2016-11-29 20:42:49 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2536893002/60001
4 years ago (2016-11-29 22:19:25 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
4 years ago (2016-11-30 00:22:20 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2536893002/60001
4 years ago (2016-11-30 00:25:28 UTC) #37
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years ago (2016-11-30 01:41:32 UTC) #40
commit-bot: I haz the power
4 years ago (2016-11-30 01:45:27 UTC) #42
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/f79979ea2cff435564fe96a89b24533855f77213
Cr-Commit-Position: refs/heads/master@{#435113}

Powered by Google App Engine
This is Rietveld 408576698