Index: media/base/android/media_jni_registrar.cc |
diff --git a/media/base/android/media_jni_registrar.cc b/media/base/android/media_jni_registrar.cc |
index 3ef0f7550ff4a2d5f3245abbc847523d4ac77270..66810d4806b7c7ca123ab99914c3ea970dfff4e5 100644 |
--- a/media/base/android/media_jni_registrar.cc |
+++ b/media/base/android/media_jni_registrar.cc |
@@ -15,6 +15,8 @@ |
#include "media/base/android/media_player_bridge.h" |
#include "media/base/android/media_player_listener.h" |
#include "media/base/android/sdk_media_codec_bridge.h" |
+#include "media/capture/content/android/screen_capture_factory_android.h" |
+#include "media/capture/content/android/screen_capture_machine_android.h" |
namespace media { |
@@ -26,6 +28,10 @@ static base::android::RegistrationMethod kMediaRegisteredMethods[] = { |
{"MediaPlayerListener", MediaPlayerListener::RegisterMediaPlayerListener}, |
{"SdkMediaCodecBridge", SdkMediaCodecBridge::RegisterSdkMediaCodecBridge}, |
{"MediaCodecUtil", MediaCodecUtil::RegisterMediaCodecUtil}, |
+ {"ScreenCaptureFactory", |
+ ScreenCaptureFactoryAndroid::RegisterScreenCaptureFactory}, |
+ {"ScreenCaptureMachine", |
+ ScreenCaptureMachineAndroid::RegisterScreenCaptureMachine}, |
mcasas
2016/04/27 01:19:27
There is no capture in this registrar anymore, nor
braveyao
2016/05/04 18:49:40
Isn't Audio capture also a capture? It seems like
mcasas
2016/05/04 19:56:48
Flip the question: is Screen Capture more a Video
|
}; |
bool RegisterJni(JNIEnv* env) { |