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

Issue 1306073003: Android: Remove VideoRenderer.Callbacks.canApplyRotation() (Closed)

Created:
5 years, 4 months ago by magjed_webrtc
Modified:
5 years, 4 months ago
Reviewers:
AlexG, guoweis_webrtc
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, qiang.lu, niklas.enbom, yujie_mao (webrtc), Andrew MacDonald
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Android: Remove VideoRenderer.Callbacks.canApplyRotation() The only real implementation of VideoRenderer.Callbacks, VideoRendererGui, can always apply rotation. We don't need this in the interface. BUG=webrtc:4145 R=glaznev@webrtc.org, guoweis@webrtc.org Committed: https://chromium.googlesource.com/external/webrtc/+/7ef9d9104d2143fdd775f7d77bcb698b4d919d59

Patch Set 1 : #

Total comments: 7

Patch Set 2 : Restore previous test behaviour + remove some dead code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -90 lines) Patch
M talk/app/webrtc/androidtests/src/org/webrtc/VideoCapturerAndroidTest.java View 1 chunk +0 lines, -6 lines 0 comments Download
M talk/app/webrtc/java/android/org/webrtc/VideoRendererGui.java View 1 chunk +0 lines, -6 lines 0 comments Download
M talk/app/webrtc/java/jni/peerconnection_jni.cc View 4 chunks +7 lines, -37 lines 0 comments Download
M talk/app/webrtc/java/src/org/webrtc/VideoRenderer.java View 1 chunk +0 lines, -2 lines 0 comments Download
M talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java View 1 2 chunks +1 line, -31 lines 0 comments Download
M webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java View 1 1 chunk +3 lines, -8 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
magjed_webrtc
I'm pretty sure we can remove this, but I'm confused about the comment 'TODO(guoweis): Remove ...
5 years, 4 months ago (2015-08-24 11:29:21 UTC) #3
guoweis_webrtc
It was to protect renderer in chrome during the time when rotation was introduced by ...
5 years, 4 months ago (2015-08-24 14:07:35 UTC) #4
magjed_webrtc
What Chrome renderer? There is a C++ renderer in Chrome that implements webrtc::VideoRendererInterface, but nothing ...
5 years, 4 months ago (2015-08-24 14:18:25 UTC) #5
guoweis_webrtc
https://codereview.webrtc.org/1306073003/diff/20001/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java File webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java (left): https://codereview.webrtc.org/1306073003/diff/20001/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java#oldcode91 webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java:91: On 2015/08/24 14:18:25, magjed_webrtc wrote: > On 2015/08/24 14:07:35, ...
5 years, 4 months ago (2015-08-24 14:27:12 UTC) #6
magjed_webrtc
https://codereview.webrtc.org/1306073003/diff/20001/talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java File talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java (right): https://codereview.webrtc.org/1306073003/diff/20001/talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java#newcode435 talk/app/webrtc/java/testcommon/src/org/webrtc/PeerConnectionTest.java:435: private static class TestRenderer implements VideoRenderer.Callbacks { This class ...
5 years, 4 months ago (2015-08-24 14:41:56 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1306073003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1306073003/60001
5 years, 4 months ago (2015-08-24 14:42:07 UTC) #10
guoweis_webrtc
On 2015/08/24 14:42:07, commit-bot: I haz the power wrote: > Dry run: CQ is trying ...
5 years, 4 months ago (2015-08-24 16:24:15 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android on tryserver.webrtc (JOB_TIMED_OUT, no build URL) ...
5 years, 4 months ago (2015-08-24 16:42:11 UTC) #13
AlexG
lgtm
5 years, 4 months ago (2015-08-24 21:42:16 UTC) #14
magjed_webrtc
5 years, 4 months ago (2015-08-25 07:32:23 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:60001) manually as
7ef9d9104d2143fdd775f7d77bcb698b4d919d59 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698