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

Unified Diff: webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java

Issue 1306073003: Android: Remove VideoRenderer.Callbacks.canApplyRotation() (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
diff --git a/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java b/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
index 00a8187f9af427eac6e9aa5bca5a90f1db58094b..19e7e008b4af8ed2e4cc2cca9a5a8bdb3f9482bd 100644
--- a/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
+++ b/webrtc/examples/androidtests/src/org/appspot/apprtc/test/PeerConnectionClientTest.java
@@ -83,12 +83,6 @@ public class PeerConnectionClientTest extends InstrumentationTestCase
doneRendering = new CountDownLatch(expectedFrames);
}
- // TODO(guoweis): Remove this once chrome code base is updated.
- @Override
- public boolean canApplyRotation() {
- return false;
- }
-
guoweis_webrtc 2015/08/24 14:07:35 same here.
magjed_webrtc 2015/08/24 14:18:25 This is just a mock class. The renderFrame() below
guoweis_webrtc 2015/08/24 14:27:12 Let's at least put a comment here that since JNI i
magjed_webrtc 2015/08/24 14:41:56 I replaced width/height with rotatedWidth()/rotate
@Override
public synchronized void renderFrame(VideoRenderer.I420Frame frame) {
if (!renderFrameCalled) {

Powered by Google App Engine
This is Rietveld 408576698