Index: talk/app/webrtc/java/jni/androidvideocapturer_jni.h |
diff --git a/talk/app/webrtc/java/jni/androidvideocapturer_jni.h b/talk/app/webrtc/java/jni/androidvideocapturer_jni.h |
index 96def5eae34e3b72cff636cc912bccca9b0eab4f..4c0b48ca48c217fc0afad85d13e54c78905d5520 100644 |
--- a/talk/app/webrtc/java/jni/androidvideocapturer_jni.h |
+++ b/talk/app/webrtc/java/jni/androidvideocapturer_jni.h |
@@ -48,7 +48,9 @@ class AndroidVideoCapturerJni : public webrtc::AndroidVideoCapturerDelegate { |
public: |
static int SetAndroidObjects(JNIEnv* jni, jobject appliction_context); |
- AndroidVideoCapturerJni(JNIEnv* jni, jobject j_video_capturer); |
+ AndroidVideoCapturerJni(JNIEnv* jni, |
+ jobject j_video_capturer, |
+ jobject j_surface_texture_helper); |
void Start(int width, int height, int framerate, |
webrtc::AndroidVideoCapturer* capturer) override; |
@@ -85,7 +87,8 @@ class AndroidVideoCapturerJni : public webrtc::AndroidVideoCapturerDelegate { |
void (webrtc::AndroidVideoCapturer::*method)(Args...), |
typename Identity<Args>::type... args); |
- const ScopedGlobalRef<jobject> j_capturer_global_; |
+ const ScopedGlobalRef<jobject> j_video_capturer_; |
+ const ScopedGlobalRef<jobject> j_surface_texture_helper_; |
const ScopedGlobalRef<jclass> j_video_capturer_class_; |
const ScopedGlobalRef<jclass> j_observer_class_; |