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

Unified Diff: webrtc/api/androidvideotracksource.cc

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/androidvideotracksource.cc
diff --git a/webrtc/api/androidvideotracksource.cc b/webrtc/api/androidvideotracksource.cc
index f0bd26a510e647d0156193f8e59e91ccbdf44f78..6fe8c95784071091b476f49c0baacbd76aaddf08 100644
--- a/webrtc/api/androidvideotracksource.cc
+++ b/webrtc/api/androidvideotracksource.cc
@@ -228,8 +228,6 @@ void AndroidVideoTrackSource::OnFrame(const cricket::VideoFrame& frame,
void AndroidVideoTrackSource::OnOutputFormatRequest(int width,
int height,
int fps) {
- RTC_DCHECK(camera_thread_checker_.CalledOnValidThread());
-
cricket::VideoFormat format(width, height,
cricket::VideoFormat::FpsToInterval(fps), 0);
video_adapter_.OnOutputFormatRequest(format);

Powered by Google App Engine
This is Rietveld 408576698