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

Unified Diff: webrtc/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java

Issue 2350933006: Android VideoSource: Add adaptOutputFormat function (Closed)
Patch Set: Remove thread check in OnOutputFormatRequest Created 4 years, 3 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/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java
diff --git a/webrtc/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java b/webrtc/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java
index 3c382280978e2906207654be0a6f326a1a598de8..9e41d21b2286c0b1a8919c0560a451e6dc4baf77 100644
--- a/webrtc/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java
+++ b/webrtc/api/androidtests/src/org/webrtc/CameraVideoCapturerTestFixtures.java
@@ -660,7 +660,7 @@ class CameraVideoCapturerTestFixtures {
final int scaledHeight = startHeight / 2;
// Request the captured frames to be scaled.
- capturerInstance.capturer.onOutputFormatRequest(scaledWidth, scaledHeight, frameRate);
+ videoTrackWithRenderer.source.adaptOutputFormat(scaledWidth, scaledHeight, frameRate);
boolean gotExpectedResolution = false;
int numberOfInspectedFrames = 0;
« no previous file with comments | « webrtc/api/androidtests/src/org/webrtc/Camera2CapturerTest.java ('k') | webrtc/api/androidvideotracksource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698