Ignore:
Timestamp:
Mar 22, 2015 9:39:31 AM (9 years ago)
Author:
ming
Message:

Re #1790: Misc fixes:

  • Fixed crash when trying to set NULL surface
  • Fixed race condition between setting surface and rendering
  • Fixed crash due to GC of VideoWindow?
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip-apps/src/swig/pjsua2.i

    r5014 r5016  
    108108%ignore pj::WindowHandle::window; 
    109109%typemap(in) jobject surface { 
    110     $1 = (jobject)ANativeWindow_fromSurface(jenv, $input); 
     110    $1 = ($input? (jobject)ANativeWindow_fromSurface(jenv, $input): NULL); 
    111111} 
    112112%extend pj::WindowHandle { 
Note: See TracChangeset for help on using the changeset viewer.