Changeset 3644


Ignore:
Timestamp:
Jul 15, 2011 2:00:37 AM (8 years ago)
Author:
nanang
Message:

Re #1325:

  • Added signature for directshow video device.
  • Added signatures.h into pjmedia VS2005 project.
Location:
pjproject/branches/projects/2.0-dev/pjmedia
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/build/pjmedia.vcproj

    r3624 r3644  
    50905090                        </File> 
    50915091                        <File 
     5092                                RelativePath="..\include\pjmedia\signatures.h" 
     5093                                > 
     5094                        </File> 
     5095                        <File 
    50925096                                RelativePath="..\include\pjmedia\silencedet.h" 
    50935097                                > 
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/signatures.h

    r3641 r3644  
    187187#define PJMEDIA_SIG_VID_DEV_SDL         PJMEDIA_SIG_CLASS_VID_DEV('S','D') 
    188188#define PJMEDIA_SIG_VID_DEV_V4L2        PJMEDIA_SIG_CLASS_VID_DEV('V','2') 
     189#define PJMEDIA_SIG_VID_DEV_DSHOW       PJMEDIA_SIG_CLASS_VID_DEV('D','S') 
    189190 
    190191 
  • pjproject/branches/projects/2.0-dev/pjmedia/src/pjmedia-videodev/dshow_dev.c

    r3617 r3644  
    779779    pj_memcpy(&strm->vid_cb, cb, sizeof(*cb)); 
    780780    strm->user_data = user_data; 
    781     pjmedia_event_publisher_init(&strm->base.epub); 
     781    pjmedia_event_publisher_init(&strm->base.epub, PJMEDIA_SIG_VID_DEV_DSHOW); 
    782782 
    783783    if (param->dir & PJMEDIA_DIR_CAPTURE) { 
Note: See TracChangeset for help on using the changeset viewer.