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

Issue 2150203002: Apply rotation for texture backed VideoFrames (Closed)

Created:
4 years, 5 months ago by emircan
Modified:
4 years, 5 months ago
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, miu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Apply rotation for texture backed VideoFrames This CL addresses the bug below where we would see rotated video on the remote peer of an Android client during a video call. This was due to rotation information being dropped for texture backed video frames, which happens in H264 HW decode cases. I added VideoFrame metadata to carry rotation information, and necessary changes in WebMediaPlayerMS to paint rotated textures. BUG=webrtc:6069 TEST=Tested AppRTC connection between N6 and MacOSX using H264 codec. Added unittest. Committed: https://crrev.com/8f3584a70bc1f4cae6531418d9b3a5ae85ebf464 Cr-Commit-Position: refs/heads/master@{#405847}

Patch Set 1 : #

Total comments: 13

Patch Set 2 : Comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -6 lines) Patch
M content/renderer/media/webmediaplayer_ms.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms.cc View 1 5 chunks +12 lines, -2 lines 0 comments Download
M content/renderer/media/webmediaplayer_ms_unittest.cc View 1 5 chunks +39 lines, -2 lines 0 comments Download
M content/renderer/media/webrtc/media_stream_remote_video_source.cc View 2 chunks +25 lines, -2 lines 0 comments Download
M media/base/video_frame_metadata.h View 1 4 chunks +6 lines, -0 lines 0 comments Download
M media/base/video_frame_metadata.cc View 2 chunks +16 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (9 generated)
emircan
PTAL.
4 years, 5 months ago (2016-07-15 01:21:42 UTC) #4
mcasas
LGTM % comments below (nothing major). https://codereview.chromium.org/2150203002/diff/20001/content/renderer/media/webmediaplayer_ms.cc File content/renderer/media/webmediaplayer_ms.cc (right): https://codereview.chromium.org/2150203002/diff/20001/content/renderer/media/webmediaplayer_ms.cc#newcode272 content/renderer/media/webmediaplayer_ms.cc:272: return blink::WebSize(current_size.height(), current_size.width()); ...
4 years, 5 months ago (2016-07-15 01:57:34 UTC) #6
emircan
chcunningham@ for OWNERS review on /media/*
4 years, 5 months ago (2016-07-15 17:32:55 UTC) #8
chcunningham
media lgtm https://codereview.chromium.org/2150203002/diff/20001/content/renderer/media/webmediaplayer_ms.cc File content/renderer/media/webmediaplayer_ms.cc (right): https://codereview.chromium.org/2150203002/diff/20001/content/renderer/media/webmediaplayer_ms.cc#newcode272 content/renderer/media/webmediaplayer_ms.cc:272: return blink::WebSize(current_size.height(), current_size.width()); I think he means ...
4 years, 5 months ago (2016-07-15 18:25:52 UTC) #9
emircan
https://codereview.chromium.org/2150203002/diff/20001/content/renderer/media/webmediaplayer_ms.cc File content/renderer/media/webmediaplayer_ms.cc (right): https://codereview.chromium.org/2150203002/diff/20001/content/renderer/media/webmediaplayer_ms.cc#newcode272 content/renderer/media/webmediaplayer_ms.cc:272: return blink::WebSize(current_size.height(), current_size.width()); On 2016/07/15 01:57:34, mcasas wrote: > ...
4 years, 5 months ago (2016-07-15 18:43:13 UTC) #10
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/2150203002/40001
4 years, 5 months ago (2016-07-15 20:03:36 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 5 months ago (2016-07-15 20:33:02 UTC) #15
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-15 20:33:18 UTC) #16
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 20:35:29 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/8f3584a70bc1f4cae6531418d9b3a5ae85ebf464
Cr-Commit-Position: refs/heads/master@{#405847}

Powered by Google App Engine
This is Rietveld 408576698