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

Side by Side Diff: webrtc/api/androidvideocapturer.cc

Issue 2106333005: Revert of Combine webrtc/api/java/android and webrtc/api/java/src. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « webrtc/api/android/jni/surfacetexturehelper_jni.cc ('k') | webrtc/api/api.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2015 The WebRTC project authors. All Rights Reserved. 2 * Copyright 2015 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #include "webrtc/api/androidvideocapturer.h" 11 #include "webrtc/api/androidvideocapturer.h"
12 12
13 #include <memory> 13 #include <memory>
14 14
15 #include "webrtc/api/android/jni/native_handle_impl.h" 15 #include "webrtc/api/java/jni/native_handle_impl.h"
16 #include "webrtc/base/common.h" 16 #include "webrtc/base/common.h"
17 #include "webrtc/base/timeutils.h" 17 #include "webrtc/base/timeutils.h"
18 #include "webrtc/media/engine/webrtcvideoframe.h" 18 #include "webrtc/media/engine/webrtcvideoframe.h"
19 19
20 namespace webrtc { 20 namespace webrtc {
21 21
22 AndroidVideoCapturer::AndroidVideoCapturer( 22 AndroidVideoCapturer::AndroidVideoCapturer(
23 const rtc::scoped_refptr<AndroidVideoCapturerDelegate>& delegate) 23 const rtc::scoped_refptr<AndroidVideoCapturerDelegate>& delegate)
24 : running_(false), 24 : running_(false),
25 delegate_(delegate) { 25 delegate_(delegate) {
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 84
85 bool AndroidVideoCapturer::GetBestCaptureFormat( 85 bool AndroidVideoCapturer::GetBestCaptureFormat(
86 const cricket::VideoFormat& desired, 86 const cricket::VideoFormat& desired,
87 cricket::VideoFormat* best_format) { 87 cricket::VideoFormat* best_format) {
88 // Delegate this choice to VideoCapturer.startCapture(). 88 // Delegate this choice to VideoCapturer.startCapture().
89 *best_format = desired; 89 *best_format = desired;
90 return true; 90 return true;
91 } 91 }
92 92
93 } // namespace webrtc 93 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/api/android/jni/surfacetexturehelper_jni.cc ('k') | webrtc/api/api.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698