Ignore:
Timestamp:
Jun 8, 2017 6:23:56 AM (7 years ago)
Author:
ming
Message:

Fixed #2022: Video Toolbox H264 encoder and decoder for Mac and iOS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/aconfigure

    r5574 r5603  
    64666466rm -f core conftest.err conftest.$ac_objext \ 
    64676467    conftest$ac_exeext conftest.$ac_ext 
     6468        LIBS="-framework VideoToolbox" 
     6469        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     6470/* end confdefs.h.  */ 
     6471 
     6472int 
     6473main () 
     6474{ 
     6475 
     6476  ; 
     6477  return 0; 
     6478} 
     6479_ACEOF 
     6480if ac_fn_c_try_link "$LINENO"; then : 
     6481  ac_pjmedia_video_has_vtoolbox=yes 
     6482else 
     6483  ac_pjmedia_video_has_vtoolbox=no 
     6484fi 
     6485rm -f core conftest.err conftest.$ac_objext \ 
     6486    conftest$ac_exeext conftest.$ac_ext 
    64686487        LIBS="-framework OpenGLES" 
    64696488        cat confdefs.h - <<_ACEOF >conftest.$ac_ext 
     
    64946513          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if AVFoundation framework is available... no" >&5 
    64956514$as_echo "Checking if AVFoundation framework is available... no" >&6; } 
     6515        fi 
     6516        if test "$ac_pjmedia_video_has_vtoolbox" = "yes"; then 
     6517          ac_darwin_cflags+=" -DPJMEDIA_HAS_VID_TOOLBOX_CODEC=1" 
     6518          LIBS="$LIBS -framework VideoToolbox" 
     6519          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if VideoToolbox framework is available... yes" >&5 
     6520$as_echo "Checking if VideoToolbox framework is available... yes" >&6; } 
     6521        else 
     6522          { $as_echo "$as_me:${as_lineno-$LINENO}: result: Checking if VideoToolbox framework is available... no" >&5 
     6523$as_echo "Checking if VideoToolbox framework is available... no" >&6; } 
    64966524        fi 
    64976525        if test "$ac_pjmedia_video_has_ios_opengl" = "yes"; then 
Note: See TracChangeset for help on using the changeset viewer.