Changeset 3645


Ignore:
Timestamp:
Jul 15, 2011 2:04:03 AM (8 years ago)
Author:
ming
Message:

Re #1325:

  • Add signature for QT and iOS dev.
Location:
pjproject/branches/projects/2.0-dev/pjmedia
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/signatures.h

    r3644 r3645  
    188188#define PJMEDIA_SIG_VID_DEV_V4L2        PJMEDIA_SIG_CLASS_VID_DEV('V','2') 
    189189#define PJMEDIA_SIG_VID_DEV_DSHOW       PJMEDIA_SIG_CLASS_VID_DEV('D','S') 
     190#define PJMEDIA_SIG_VID_DEV_QT          PJMEDIA_SIG_CLASS_VID_DEV('Q','T') 
     191#define PJMEDIA_SIG_VID_DEV_IOS         PJMEDIA_SIG_CLASS_VID_DEV('I','P') 
    190192 
    191193 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/ios_dev.m

    r3617 r3645  
    427427    pj_memcpy(&strm->vid_cb, cb, sizeof(*cb)); 
    428428    strm->user_data = user_data; 
    429     pjmedia_event_publisher_init(&strm->base.epub); 
     429    pjmedia_event_publisher_init(&strm->base.epub, PJMEDIA_SIG_VID_DEV_IOS); 
    430430 
    431431    vfd = pjmedia_format_get_video_format_detail(&strm->param.fmt, PJ_TRUE); 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/qt_dev.m

    r3617 r3645  
    420420    strm->user_data = user_data; 
    421421    strm->apool = [[NSAutoreleasePool alloc]init]; 
    422     pjmedia_event_publisher_init(&strm->base.epub); 
     422    pjmedia_event_publisher_init(&strm->base.epub, PJMEDIA_SIG_VID_DEV_COLORBAR); 
    423423 
    424424    /* Create capture stream here */ 
Note: See TracChangeset for help on using the changeset viewer.