Ignore:
Timestamp:
Mar 26, 2015 10:57:05 AM (9 years ago)
Author:
nanang
Message:

Re #1790: Fixed error build of undefined "ANativeWindow_fromSurface()" when video is disabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/pjsua/android/jni/pjsua.i

    r5030 r5032  
    44#include "pjsua_app_callback.h" 
    55#include "../../pjsua_app.h" 
    6 #include <android/native_window_jni.h> 
     6 
     7#if defined(PJMEDIA_HAS_VIDEO) && PJMEDIA_HAS_VIDEO!=0 
     8#  include <android/native_window_jni.h> 
     9#else 
     10#  define ANativeWindow_fromSurface(a,b) NULL 
     11#endif 
    712%} 
    813 
Note: See TracChangeset for help on using the changeset viewer.