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

Issue 2611783002: Turn off video overlay on android for rotated video. (Closed)

Created:
3 years, 11 months ago by liberato (no reviews please)
Modified:
3 years, 11 months ago
Reviewers:
watk
CC:
chromium-reviews, feature-media-reviews_chromium.org, xjz+watch_chromium.org, miu+watch_chromium.org, apacible+watch_chromium.org, erickung+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Turn off video overlay on android for rotated video. Don't enable SurfaceView overlays for video if the metadata says that the video is rotated, since SurfaceView won't rotate it. Also switch out of overlay mode if the metadata changes. This also changes the 'exit full screen' logic to check if an overlay is in use to decide if it needs to turn them off. BUG=669081 Committed: https://crrev.com/2fd111be3c997d2ab9ce570d9076f3ec0da7a93e Cr-Commit-Position: refs/heads/master@{#441264}

Patch Set 1 #

Total comments: 6

Patch Set 2 : fixed |force_video_overlays_| #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -4 lines) Patch
M media/blink/webmediaplayer_impl.h View 1 chunk +4 lines, -0 lines 0 comments Download
M media/blink/webmediaplayer_impl.cc View 1 3 chunks +22 lines, -4 lines 0 comments Download

Messages

Total messages: 19 (13 generated)
watk
https://codereview.chromium.org/2611783002/diff/1/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/2611783002/diff/1/media/blink/webmediaplayer_impl.cc#newcode350 media/blink/webmediaplayer_impl.cc:350: DoesOverlaySupportMetadata()) needs braces now https://codereview.chromium.org/2611783002/diff/1/media/blink/webmediaplayer_impl.cc#newcode357 media/blink/webmediaplayer_impl.cc:357: if (overlay_enabled_) I ...
3 years, 11 months ago (2017-01-03 20:33:03 UTC) #5
liberato (no reviews please)
thanks -fl https://codereview.chromium.org/2611783002/diff/1/media/blink/webmediaplayer_impl.cc File media/blink/webmediaplayer_impl.cc (right): https://codereview.chromium.org/2611783002/diff/1/media/blink/webmediaplayer_impl.cc#newcode350 media/blink/webmediaplayer_impl.cc:350: DoesOverlaySupportMetadata()) On 2017/01/03 20:33:03, watk wrote: > ...
3 years, 11 months ago (2017-01-03 22:53:45 UTC) #10
watk
cool, lgtm!
3 years, 11 months ago (2017-01-03 23:07:27 UTC) #11
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/2611783002/20001
3 years, 11 months ago (2017-01-03 23:16:30 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2017-01-04 00:25:39 UTC) #17
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 00:27:29 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/2fd111be3c997d2ab9ce570d9076f3ec0da7a93e
Cr-Commit-Position: refs/heads/master@{#441264}

Powered by Google App Engine
This is Rietveld 408576698