Ignore:
Timestamp:
Dec 14, 2010 1:03:10 PM (14 years ago)
Author:
ming
Message:

Fixed #1183

  • QT capture device for Mac
  • iOS device for iOS (capture device only works for iOS 4.0 or above)
  • Add NSAutoReleasePool for sdl_dev (Mac)
  • Add NSAutoReleasePool for vid_dev_test (Mac)
  • build system for compilation of Obj-C files (.m)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/videodev.c

    r3392 r3395  
    7979#endif 
    8080 
     81#if PJMEDIA_VIDEO_DEV_HAS_QT 
     82pjmedia_vid_dev_factory* pjmedia_qt_factory(pj_pool_factory *pf); 
     83#endif 
     84 
     85#if PJMEDIA_VIDEO_DEV_HAS_IOS 
     86pjmedia_vid_dev_factory* pjmedia_ios_factory(pj_pool_factory *pf); 
     87#endif 
     88 
    8189#define MAX_DRIVERS     16 
    8290#define MAX_DEVS        64 
     
    327335#if PJMEDIA_VIDEO_DEV_HAS_V4L2 
    328336    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_v4l2_factory; 
     337#endif 
     338#if PJMEDIA_VIDEO_DEV_HAS_QT 
     339    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_qt_factory; 
     340#endif 
     341#if PJMEDIA_VIDEO_DEV_HAS_IOS 
     342    vid_subsys.drv[vid_subsys.drv_cnt++].create = &pjmedia_ios_factory; 
    329343#endif 
    330344#if PJMEDIA_VIDEO_DEV_HAS_DSHOW 
Note: See TracChangeset for help on using the changeset viewer.