- Timestamp:
- Mar 22, 2015 8:53:03 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-videodev/android_opengl.c
r5007 r5014 137 137 }; 138 138 139 static void get_jvm(JNIEnv **jni_env)140 {141 (*pj_jni_jvm)->GetEnv(pj_jni_jvm, (void **)jni_env, JNI_VERSION_1_4);142 }143 144 void* android_opengl_get_surface(jobject surface)145 {146 JNIEnv *env = 0;147 get_jvm(&env);148 return ((env && surface)? ANativeWindow_fromSurface(env, surface): NULL);149 }150 151 139 int pjmedia_vid_dev_opengl_imp_get_cap(void) 152 140 {
Note: See TracChangeset
for help on using the changeset viewer.