Implement Rotation in Android Renderer.
Make use of rotation information from the frame and rotate it accordingly when we render the frame. BUG=4145 R=glaznev@webrtc.org Committed: https://code.google.com/p/webrtc/source/detail?r=8770 Review URL: https://webrtc-codereview.appspot.com/50369004 Cr-Commit-Position: refs/heads/master@{#8781} git-svn-id: http://webrtc.googlecode.com/svn/trunk@8781 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@@ -101,6 +101,12 @@ 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;
|
||||
}
|
||||
|
||||
@Override
|
||||
public synchronized void renderFrame(VideoRenderer.I420Frame frame) {
|
||||
if (!renderFrameCalled) {
|
||||
|
||||
Reference in New Issue
Block a user