mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-28 16:49:20 +00:00
add msx264 compilation
This commit is contained in:
parent
7107aa1d1d
commit
5cdf291009
2 changed files with 7 additions and 1 deletions
|
|
@ -86,7 +86,9 @@ LOCAL_STATIC_LIBRARIES += \
|
|||
libswscale \
|
||||
libavcore \
|
||||
libavutil \
|
||||
libmsx264 \
|
||||
libx264
|
||||
|
||||
endif
|
||||
|
||||
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#ifdef ANDROID
|
||||
#include <android/log.h>
|
||||
extern "C" void libmsilbc_init();
|
||||
extern "C" void libmsx264_init();
|
||||
#endif /*ANDROID*/
|
||||
|
||||
extern "C" void ms_andsnd_set_jvm(JavaVM *jvm) ;
|
||||
|
|
@ -48,7 +49,7 @@ JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *ajvm, void *reserved)
|
|||
#ifdef ANDROID
|
||||
ms_andsnd_set_jvm(ajvm);
|
||||
#ifdef VIDEO_ENABLED
|
||||
ms_andvid_set_jvm(ajvm);
|
||||
ms_andvid_set_jvm(ajvm);
|
||||
#endif /*VIDEO_ENABLED*/
|
||||
#endif /*ANDROID*/
|
||||
jvm=ajvm;
|
||||
|
|
@ -312,6 +313,9 @@ extern "C" jlong Java_org_linphone_core_LinphoneCoreImpl_newLinphoneCore(JNIEnv*
|
|||
|
||||
#ifdef HAVE_ILBC
|
||||
libmsilbc_init(); // requires an fpu
|
||||
#endif
|
||||
#ifdef VIDEO_ENABLED
|
||||
libmsx264_init();
|
||||
#endif
|
||||
jlong nativePtr = (jlong)linphone_core_new( &ldata->vTable
|
||||
,userConfig
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue