Ignore:
Timestamp:
Jun 16, 2016 10:38:34 AM (8 years ago)
Author:
ming
Message:

Re #1931: Add support for AVFoundation on Mac

  • Deprecate QTKit
  • Rename ios_dev.m to darwin_dev.m
  • Important: Re-run configure and make dep after applying this change!
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/build/os-auto.mak.in

    r5268 r5347  
    33# Define the desired video device backend 
    44# Valid values are: 
    5 #   - mac_os 
    6 #   - iphone_os 
     5#   - darwin_os 
    76#   - android_os 
    87AC_PJMEDIA_VIDEO = @ac_pjmedia_video@ 
     
    2221# QT 
    2322AC_PJMEDIA_VIDEO_HAS_QT = @ac_pjmedia_video_has_qt@ 
    24 QT_CFLAGS = @ac_qt_cflags@ 
    25  
    26 # iOS 
    27 IOS_CFLAGS = @ac_ios_cflags@ 
     23# QT_CFLAGS = @ac_qt_cflags@ 
     24 
     25# Darwin (Mac and iOS) 
     26DARWIN_CFLAGS = @ac_darwin_cflags@ 
    2827 
    2928# Android 
     
    4645export CFLAGS += @ac_no_small_filter@ @ac_no_large_filter@ @ac_no_speex_aec@ \ 
    4746                 $(SDL_CFLAGS) $(FFMPEG_CFLAGS) $(V4L2_CFLAGS) $(QT_CFLAGS) \ 
    48                  $(IOS_CFLAGS) $(ANDROID_CFLAGS) $(LIBYUV_CFLAGS) \ 
     47                 $(DARWIN_CFLAGS) $(ANDROID_CFLAGS) $(LIBYUV_CFLAGS) \ 
    4948                 $(OPENH264_CFLAGS) $(WEBRTC_CFLAGS) 
    5049export LDFLAGS += $(SDL_LDFLAGS) $(FFMPEG_LDFLAGS) $(V4L2_LDFLAGS) \ 
     
    249248 
    250249# 
    251 # iOS video device 
    252 # 
    253 ifeq ($(AC_PJMEDIA_VIDEO),iphone_os) 
    254 export PJMEDIA_VIDEODEV_OBJS += ios_dev.o ios_opengl_dev.o 
     250# Darwin video device 
     251# 
     252ifeq ($(AC_PJMEDIA_VIDEO_HAS_DARWIN),yes) 
     253export PJMEDIA_VIDEODEV_OBJS += darwin_dev.o 
     254endif 
     255 
     256# 
     257# iOS OpenGL video device 
     258# 
     259ifeq ($(AC_PJMEDIA_VIDEO_HAS_IOS_OPENGL),yes) 
     260export PJMEDIA_VIDEODEV_OBJS += ios_opengl_dev.o 
    255261endif 
    256262 
     
    266272# source code 
    267273# 
    268 ifneq (,$(filter $(AC_PJMEDIA_VIDEO),mac_os iphone_os)) 
     274ifneq (,$(filter $(AC_PJMEDIA_VIDEO),darwin_os)) 
    269275# Mac and iPhone OS specific, use obj-c 
    270276export PJMEDIA_VIDEODEV_OBJS += sdl_dev_m.o 
Note: See TracChangeset for help on using the changeset viewer.